enum RelationSide

Which end of a written relation is meant, before roles are worked out.

order.id < order_detail.order_id and order_detail.order_id > order.id describe the same relation with the sides swapped, so parent and child are derived from the operator rather than from the order they were written in.

Cases§

case Left
case Right

Methods§

public function opposite(): self

Returns opposite.

Returns

self
Calls 2

Test cases 36§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 34

Relations§

Constant reads 6
Type declarations 2