type

RelationshipFilterRule

type RelationshipFilterRule struct { Collection string TargetPath string Operator RelationshipFilterOperator SourcePath string Literal *DefaultValue }

A server-enforced relationship picker predicate derived from the current document.

Source field/field.go:206

Collectionstring
The Collection value.
TargetPathstring
The TargetPath value.
OperatorRelationshipFilterOperator
The Operator value.
SourcePathstring
The SourcePath value.
Literal*DefaultValue
The Literal value.

Collection scopes a rule to one polymorphic target. Operator uses the exact RelationshipFilterOperator constants.