flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
38
BACK_BACK/node_modules/mongoose/lib/validoptions.js
generated
vendored
Executable file
38
BACK_BACK/node_modules/mongoose/lib/validoptions.js
generated
vendored
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
|
||||
/*!
|
||||
* Valid mongoose options
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const VALID_OPTIONS = Object.freeze([
|
||||
'allowDiskUse',
|
||||
'applyPluginsToChildSchemas',
|
||||
'applyPluginsToDiscriminators',
|
||||
'autoCreate',
|
||||
'autoIndex',
|
||||
'bufferCommands',
|
||||
'bufferTimeoutMS',
|
||||
'cloneSchemas',
|
||||
'debug',
|
||||
'id',
|
||||
'timestamps.createdAt.immutable',
|
||||
'maxTimeMS',
|
||||
'objectIdGetter',
|
||||
'overwriteModels',
|
||||
'returnOriginal',
|
||||
'runValidators',
|
||||
'sanitizeFilter',
|
||||
'sanitizeProjection',
|
||||
'selectPopulatedPaths',
|
||||
'setDefaultsOnInsert',
|
||||
'strict',
|
||||
'strictPopulate',
|
||||
'strictQuery',
|
||||
'toJSON',
|
||||
'toObject',
|
||||
'transactionAsyncLocalStorage',
|
||||
'translateAliases'
|
||||
]);
|
||||
|
||||
module.exports = VALID_OPTIONS;
|
||||
Loading…
Add table
Add a link
Reference in a new issue