Merge pull request #26639 from stieg/add_push_each_schema_option_flag

Add `usePushEach` flag to Mongoose Schema Options
This commit is contained in:
Nathan Shively-Sanders
2018-06-18 15:41:50 -07:00
committed by GitHub
+2
View File
@@ -854,6 +854,8 @@ declare module "mongoose" {
typeKey?: string;
/** defaults to false */
useNestedStrict?: boolean;
/** defaults to false */
usePushEach?: boolean;
/** defaults to true */
validateBeforeSave?: boolean;
/** defaults to "__v" */