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