navigation

Gremlex

Gremlex is an Elixir client for Gremlin (Apache TinkerPop™), a simple to use library for creating Gremlin queries.

Gremlex is early in development and does not support all Gremlin queries. But you are always welcome to use our raw query function.

Client.query("""
  g.V().match(
    __.as("a").out("knows").as("b"),
    __.as("a").out("created").as("c"),
    __.as("b").out("created").as("c"),
    __.as("c").in("created").count().is(2)
  )
  .select("c").by("name")
""")