Merge pull request #30098 from DefinitelyTyped/rbuckton-patch-1

[mongodb] Make arrayFilters optional
This commit is contained in:
Ron Buckton
2018-10-28 16:32:10 -07:00
committed by GitHub
+1 -1
View File
@@ -1368,7 +1368,7 @@ export interface UpdateOneOptions extends ReplaceOneOptions {
/** http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#updateMany */
export interface UpdateManyOptions extends CommonOptions {
upsert?: boolean;
arrayFilters: Object[];
arrayFilters?: Object[];
}
/** http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#~updateWriteOpResult */