Skip to main content

relations

Reads a set of Relation.

relations(
first: Int
offset: Int
orderBy: [RelationsOrderBy!]
condition: RelationCondition
filter: RelationFilter
): [Relation!]

Arguments​

relations.first ● Int scalar​

Only read the first n values of the set.

relations.offset ● Int scalar​

Skip the first n values.

relations.orderBy ● [RelationsOrderBy!] list enum​

The method to use when ordering Relation.

relations.condition ● RelationCondition input​

A condition to be used in determining which values should be returned by the collection.

relations.filter ● RelationFilter input​

A filter to be used in determining which values should be returned by the collection.

Type​

Relation object​

A first-class directed edge between two entities. Relations have their own UUID, their own type (a Property entity defining the edge kind), and a fractional-index position for ordered collections. Unlike SQL foreign keys, relations are addressable graph entities you can query and traverse independently.