MCPcopy Index your code
hub / github.com/NativeScript/firebase / endBefore

Method endBefore

packages/firebase-firestore/index.ios.ts:412–418  ·  view source on GitHub ↗
(fieldValues: DocumentSnapshot<T> | FieldValue[])

Source from the content-addressed store, hash-verified

410 endBefore(snapshot: DocumentSnapshot<T>): Query;
411 endBefore(fieldValues: FieldValue[]): Query;
412 endBefore(fieldValues: DocumentSnapshot<T> | FieldValue[]): Query {
413 if (Array.isArray(fieldValues)) {
414 return Query.fromNative(this.native.queryEndingBeforeValues(fieldValues.map((value) => value.native)));
415 } else {
416 return Query.fromNative(this.native.queryEndingBeforeDocument(fieldValues?.native));
417 }
418 }
419
420 get(options?: GetOptions): Promise<QuerySnapshot> {
421 let source: FIRFirestoreSource;

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected