(fieldValues: DocumentSnapshot<T> | FieldValue[])
| 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; |
nothing calls this directly
no test coverage detected