Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2663

Support Vertex references in grammar

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.5.1
    • 3.6.0
    • language
    • None

    Description

      With Java (and other variants) you can create an Element easy enough - ReferenceVertex and the like have easy to use constructors. gremlin-language could be made more consistent with such syntax:

      g.addE('knows).from(Vertex(1)).to(Vertex(2))
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment