• Filters out documents whose fields do not match a condition from a query.

    Parameters

    • queryID: string

      The query to add the filter to.

    • field: string

      The field to run the condition on.

    • op: "<" | ">" | "array-contains" | "==" | "!=" | ">=" | "<="

      The condition operator.

    • value: string | number

      The value to check against.

    Returns void