Subaru.Query.Builder (subaru v0.1.0)

View Source

A pipe-friendly DSL for building Subaru.Query structs.

This module is intended to be used via the alias Q.

Summary

Functions

Adds a step to filter results.

Adds a step to traverse incoming edges of the given type.

Limits the number of results.

Adds a step to traverse outgoing edges of the given type.

Starts a query from a set of vertices.

Functions

filter(query, fun)

Adds a step to filter results.

query in etype

Adds a step to traverse incoming edges of the given type.

limit(query, n)

Limits the number of results.

out(query, etype)

Adds a step to traverse outgoing edges of the given type.

v(schema, filters \\ [])

Starts a query from a set of vertices.

v(plan_or_graph, label_or_module, opts)