function

OptionFilterValue

func OptionFilterValue[ Value ~string | ~bool | ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~float32 | ~float64, ](targetPath string, operator RelationshipFilterOperator, value Value) RelationshipFilterRule

Construct a relationship-choice predicate from a typed literal value.

Source field/options.go:1046

@param targetPath
The targetPath value.
@param operator
The operator value.
@param value
The value value.
@returns
The declared result.

Related types