decrel.Relation
See theRelation companion object
A declaration of a Relation
object by extending one of Relation.Single
, Relation.Optional
or
Relation.Many
can be thought of as an edge in the directed graph that is your entire domain model.
An expression with a type of Relation[A, B]
represents a traversal of the domain model graph starting from A
into B
, where B
can be a result of accumulation of an arbitrary number of nodes.