Skip to content

Instantly share code, notes, and snippets.

@okram
Created August 18, 2014 19:31
Show Gist options
  • Save okram/c02eecfc1c43525d99e3 to your computer and use it in GitHub Desktop.
Save okram/c02eecfc1c43525d99e3 to your computer and use it in GitHub Desktop.
gremlin> g.of().inject(user.store("x").as("a").out("in").store("x").jump("a").cap("x").next()).unfold().outE("AXO").has("read", true).inV().choose({ it.get() == r3 },
gremlin> g.of(),
gremlin> g.of().as("x").out("has").jump("x", { it.get() != r3 })).hasNext()
==>true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment