• Creates a QueryStartAtConstraint that modifies the result set to start after the provided document (exclusive). The starting 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 QueryStartAtConstraint to pass to query()

    Type Parameters

    • AppModelType

    • DbModelType extends DocumentData

    Parameters

    • snapshot: DocumentSnapshot<AppModelType, DbModelType>

      The snapshot of the document to start after.

    Returns QueryStartAtConstraint

  • Creates a QueryStartAtConstraint that modifies the result set to start after 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 QueryStartAtConstraint to pass to query()

    Parameters

    • Rest ...fieldValues: unknown[]

      The field values to start this query after, in order of the query's order by.

    Returns QueryStartAtConstraint

Generated using TypeDoc