LittleDemon WebShell


Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
Path : /home/livedhms/lmgt/node_modules/mongoose/lib/
File Upload :
Command :
Current File : /home/livedhms/lmgt/node_modules/mongoose/lib/validOptions.js

/*!
 * Valid mongoose options
 */

'use strict';

const VALID_OPTIONS = Object.freeze([
  'allowDiskUse',
  'applyPluginsToChildSchemas',
  'applyPluginsToDiscriminators',
  'autoCreate',
  'autoIndex',
  'autoSearchIndex',
  'bufferCommands',
  'bufferTimeoutMS',
  'cloneSchemas',
  'createInitialConnection',
  'debug',
  'forceRepopulate',
  'id',
  'maxTimeMS',
  'objectIdGetter',
  'overwriteModels',
  'returnDocument',
  'returnOriginal',
  'runValidators',
  'sanitizeFilter',
  'sanitizeProjection',
  'selectPopulatedPaths',
  'setDefaultsOnInsert',
  'strict',
  'strictPopulate',
  'strictQuery',
  'timestamps.createdAt.immutable',
  'toJSON',
  'toObject',
  'transactionAsyncLocalStorage',
  'translateAliases',
  'updatePipeline'
]);

module.exports = VALID_OPTIONS;

LittleDemon - FACEBOOK
[ KELUAR ]