Skip to content

invertCardinality

invertCardinality(cardinality): RelationCardinality

Returns the cardinality of a Relation as seen from its to side.

RelationCardinality

Cardinality declared on the from side.

RelationCardinality

The same cardinality with the two sides swapped.

Error when cardinality is not one of the RelationCardinality values.