Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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,
value: unknown,
): QueryFieldFilterConstraint;
§
where(fieldPath: string | FieldPath, opStr: WhereFilterOp, value: unknown): QueryFieldFilterConstraint
[src]

§Parameters

§
fieldPath: string | FieldPath
[src]
  • The path to compare
§
  • The operation string (e.g "<", "<=", "==", "<", "<=", "!=").
§
value: unknown
[src]
  • The value for comparison