Skip to content

Instantly share code, notes, and snippets.

@spmallette
Last active February 1, 2023 16:39
Show Gist options
  • Save spmallette/5a95c22a16fd50cadbdc5f1b7c8a1995 to your computer and use it in GitHub Desktop.
Save spmallette/5a95c22a16fd50cadbdc5f1b7c8a1995 to your computer and use it in GitHub Desktop.
gremlin> g.V([1,2])
==>v[1]
==>v[2]
gremlin> g.V().hasId([1,2])
==>v[1]
==>v[2]
gremlin> g.V().both().hasId(1,2)
==>v[2]
==>v[1]
==>v[1]
==>v[1]
gremlin> g.V().both().hasId([1,2])
gremlin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment