Skip to content

RelationOptions

Options accepted when declaring a Relation.

readonly optional toKey?: string

Key the target uses for the reverse side of the Relation, so navigating back reads naturally. For employee 1-[manager]->* employee the reverse key might be manages.

The Relation's own key.