You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/08/17 13:18:22 UTC

[jira] [Commented] (TINKERPOP-1409) Make the "null" return in the gremlin console into something more understandable

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

Marko A. Rodriguez commented on TINKERPOP-1409:
-----------------------------------------------

I was thinking about it last  night and thought that if the result is "null" we simply don't print anything.

{code}
gremlin> aVoidFunction()
gremlin> 1+2
==>3
gremlin> null
gremlin> [null, null]
==>null
==>null
gremlin>
{code}

> 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)