type

RelationshipFilterRule

RelationshipFilterRule derives one target predicate from current document data. Collection optionally limits the rule to one target of a polymorphic relationship.

Properties

PropertyTypeDescription
CollectionstringThe Collection value.
TargetPathstringThe TargetPath value.
OperatorRelationshipFilterOperatorThe Operator value.
SourcePathstringThe SourcePath value.
Literal*DefaultValueThe Literal value.

Full signature

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

Source field/field.go:189