Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
, versionKey: '__v'
, discriminatorKey: '__t'
, minimize: true
, autoIndex: true
, shardKey: null
, read: null
// the following are only applied at construction time
, noId: false // deprecated, use { _id: false }
, _id: true
, noVirtualId: false // deprecated, use { id: false }
, id: true
// , pluralization: true // only set this to override the global option
}, options);
if (options.read) {
options.read = mquery.utils.readPref(options.read);
}
return options;
}