Add missing where type

This commit is contained in:
ehesp
2019-08-27 16:05:30 +01:00
parent 92fc46b21f
commit 4dcee5ac85

View File

@@ -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