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

Method endBefore

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

Source from the content-addressed store, hash-verified

461 endBefore(snapshot: DocumentSnapshot<T>): Query;
462 endBefore(fieldValues: FieldValue[]): Query;
463 endBefore(fieldValues: DocumentSnapshot<T> | FieldValue[]): Query {
464 if (Array.isArray(fieldValues)) {
465 return Query.fromNative(this.native.endBefore(fieldValues.map((value) => value.native)));
466 } else {
467 return Query.fromNative(this.native.endBefore(fieldValues?.native));
468 }
469 }
470
471 get(options?: GetOptions): Promise<QuerySnapshot> {
472 let source: com.google.firebase.firestore.Source;

Callers

nothing calls this directly

Calls 2

endBeforeMethod · 0.65
fromNativeMethod · 0.45

Tested by

no test coverage detected