[ 
https://issues.apache.org/jira/browse/TINKERPOP-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424775#comment-15424775
 ] 

Dylan Millikin commented on TINKERPOP-1409:
-------------------------------------------

Not printing anything is a little ambiguous no? 

{code}
gremlin> 1+2
==>3
gremlin> null
gremlin> [null, null]
==>null
==>null
gremlin> []
gremlin>
{code}
Does an empty set return null?

Maybe there needs to be a distinction between an empty result set and a null 
result set. A successful execution should perhaps return an empty result set or 
a bool? (thinking out loud)

> Make the "null" return in the gremlin console into something more 
> understandable
> --------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1409
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1409
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.2.1
>            Reporter: Jeremy Hanna
>
> A common question among new users is what is with the "null" return String in 
> the console when there is a successful execution.  An explanation is in the 
> docs now (see note at bottom of 
> http://tinkerpop.apache.org/docs/current/reference/#_mutating_the_graph 
> section) but it would be nice to avoid it or make it more immediately 
> understandable for new users.
> It's not a huge deal, but often comes up as a question from new users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to