Skip to content

Instantly share code, notes, and snippets.

@okram
Created January 13, 2014 22:09
Show Gist options
  • Select an option

  • Save okram/8409086 to your computer and use it in GitHub Desktop.

Select an option

Save okram/8409086 to your computer and use it in GitHub Desktop.
Gremlin.of(g).V()
.match("a", "b",
Gremlin.of().as("a").out("knows").has("name", "josh"),
Gremlin.of().as("a").out("created").has("name", "lop"),
Gremlin.of().as("a").out("created").as("b"))
.value("name").path()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment