where
Creates a QueryFieldFilterConstraint that enforces that documents must contain the specified field and that the value should satisfy the relation constraint provided.
function where(
fieldPath: string | FieldPath,
opStr: WhereFilterOp,
value: unknown,
): QueryFieldFilterConstraint;§
where(fieldPath: string | FieldPath, opStr: WhereFilterOp, value: unknown): QueryFieldFilterConstraint
[src]§Parameters
§
opStr: WhereFilterOp
[src]- The operation string (e.g "<", "<=", "==", "<", "<=", "!=").