relation
Read a single relation by its ID. Relations are first-class edges with their own UUID, distinct from the entities they connect.
relation(
id: UUID!
): Relation
Arguments
relation.id ● UUID! non-null scalar
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.
:::tip See also
Cookbook recipes that use this:
:::