@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Class Query

    A query represents an instruction given to the firestore engine to match a specific set of documents within a collection.

    It's designed to prevent some errors in your query at compile time instead of runtime. (although some rules cannot be checked at compile time or will be checked in future versions)

    Index

    Constructors

    Methods

    • Converts the query to a firebase set of query constraints

      Returns QueryConstraint[]

      Firebase query constraints equivalent to this query

    • Appends a where clause to the query

      Parameters

      • field: string

        Field on which the where clause is applied

      • operator: WhereFilterOp

        Operator of the clause

      • value: unknown

        Value to check against the value of the field against

      Returns WhereBlock

      The WhereBlock appended to the query