• Creates a QueryFieldFilterConstraint that enforces that documents must contain the specified field and that the value should satisfy the relation constraint provided.

    Returns

    The created QueryFieldFilterConstraint.

    Parameters

    • fieldPath: string | FieldPath

      The path to compare

    • opStr: WhereFilterOp

      The operation string (e.g "<", "<=", "==", "<", "<=", "!=").

    • value: unknown

      The value for comparison

    Returns QueryFieldFilterConstraint

Generated using TypeDoc