We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ddc42 commit 936ae2bCopy full SHA for 936ae2b
types/query.d.ts
@@ -104,6 +104,10 @@ declare module 'mongoose' {
104
multipleCastError?: boolean;
105
106
overwriteDiscriminatorKey?: boolean;
107
+ /**
108
+ * Set to true to enable `update validators`
109
+ * (https://mongoosejs.com/docs/validation.html#update-validators). Defaults to false.
110
+ */
111
runValidators?: boolean;
112
/**
113
* Set to `true` to automatically sanitize potentially unsafe query filters by stripping out query selectors that
0 commit comments