Skip to content

RelationOptions

Defined in: definition/relation.ts:54

readonly optional toKey?: string

Defined in: definition/relation.ts:61

Allows the renaming of the key on the “to” item to be distinct. For example employee 1-[manager]->* employee could have the toKey of manages. In this case when navigating the reverse of the relationship the semantics are a little more obvious.