mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-12 22:39:15 +08:00
Add missing where type
This commit is contained in:
5
packages/firestore/lib/index.d.ts
vendored
5
packages/firestore/lib/index.d.ts
vendored
@@ -1153,6 +1153,11 @@ export namespace Firestore {
|
||||
where(fieldPath: string | FieldPath, opStr: WhereFilterOp, value: any): Query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter conditions in a `Query.where()` clause are specified using the strings '<', '<=', '==', '>=', '>', and 'array-contains'.
|
||||
*/
|
||||
export type WhereFilterOp = '<' | '<=' | '==' | '>' | '>=' | 'array-contains';
|
||||
|
||||
/**
|
||||
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects representing the results of a query. The documents
|
||||
* can be accessed as an array via the `docs` property or enumerated using the `forEach` method. The number of documents
|
||||
|
||||
Reference in New Issue
Block a user