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

Method endAt

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

Source from the content-addressed store, hash-verified

400 endAt(snapshot: DocumentSnapshot<T>): Query;
401 endAt(fieldValues: FieldValue[]): Query;
402 endAt(fieldValues: DocumentSnapshot<T> | FieldValue[]): Query {
403 if (Array.isArray(fieldValues)) {
404 return Query.fromNative(this.native.queryEndingAtValues(fieldValues.map((value) => value?.native || value)));
405 } else {
406 return Query.fromNative(this.native.queryEndingAtDocument(fieldValues?.native));
407 }
408 }
409
410 endBefore(snapshot: DocumentSnapshot<T>): Query;
411 endBefore(fieldValues: FieldValue[]): Query;

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected