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

Implement some form of clone() or reset() for Traversal in GLVs

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      There doesn't seem to be a method to do what we do in Java fairly often:

      attached = g.V().hasLabel('OID').out('attached')
      assert attached.clone().count().next() == 4
      uids = attached.clone().dedup().toList()
      

      Attachments

        Activity

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

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment