Skip to content

Instantly share code, notes, and snippets.

@spmallette
Last active December 1, 2022 19:33
Show Gist options
  • Save spmallette/ea07625e5ced5667e0af410f94aa5af7 to your computer and use it in GitHub Desktop.
Save spmallette/ea07625e5ced5667e0af410f94aa5af7 to your computer and use it in GitHub Desktop.
gremlin> v = g.V(2).next()
==>v[2]
gremlin> g.V().is(v)
==>v[2]
gremlin> g.V().is(new ReferenceVertex(2, 'person'))
==>v[2]
gremlin> g.V(2).fold().is([new ReferenceVertex(2, 'person')])
==>[v[2]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment