firesage
Version:
🔥 Extremely High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience
13 lines (12 loc) • 597 B
TypeScript
import { Cursor } from '../types';
/**
* Creates a {@link QueryConstraint} that modifies the result set to end before 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.
*
* @param snapshotOrFieldValues - The snapshot of the document to end before OR the field values to end this query before, in order
* of the query's order by.
* @returns A {@link QueryConstraint} to pass to `query()`
*/
export declare const endBefore: Cursor<'endBefore'>;