function

Document

func Document[Value ConditionScalar]( path string, operator ConditionOperator, values ...Value, ) Condition

Build a typed predicate whose path starts at the document root.

Source field/options.go:458

@param path
The path value.
@param operator
The operator value.
@param values
The values value.
@returns
The declared result.

Related types

  • ConditionScalar

    The string, boolean, integer, or floating-point operands accepted by conditions.

  • ConditionOperator

    The finite scalar condition vocabulary.

  • Condition

    An immutable presentation-only logical or scalar condition.

Related guides