MCPcopy Create free account
hub / github.com/NativeScript/firebase / startAt

Method startAt

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

Source from the content-addressed store, hash-verified

557 startAt(snapshot: DocumentSnapshot<T>): Query;
558 startAt(fieldValues: FieldValue[]): Query;
559 startAt(fieldValues: DocumentSnapshot<T> | FieldValue[]): Query {
560 if (Array.isArray(fieldValues)) {
561 return Query.fromNative(this.native.startAt(fieldValues.map((value) => value.native)));
562 } else {
563 return Query.fromNative(this.native.startAt(fieldValues?.native));
564 }
565 }
566
567 where(fieldPath: FieldPath | keyof DocumentData, opStr: WhereFilterOp, value: any): Query {
568 let query;

Callers

nothing calls this directly

Calls 2

startAtMethod · 0.65
fromNativeMethod · 0.45

Tested by

no test coverage detected