• Creates a QueryEndAtConstraint that modifies the result set to end at the provided document (inclusive). The end position is relative to the order of the query. The document must contain all of the fields provided in the orderBy of the query.

    Returns

    A QueryEndAtConstraint to pass to query()

    Type Parameters

    • AppModelType

    • DbModelType extends DocumentData

    Parameters

    • snapshot: DocumentSnapshot<AppModelType, DbModelType>

      The snapshot of the document to end at.

    Returns QueryEndAtConstraint

  • Creates a QueryEndAtConstraint that modifies the result set to end at the provided fields relative to the order of the query. The order of the field values must match the order of the order by clauses of the query.

    Returns

    A QueryEndAtConstraint to pass to query()

    Parameters

    • Rest ...fieldValues: unknown[]

      The field values to end this query at, in order of the query's order by.

    Returns QueryEndAtConstraint

Generated using TypeDoc