api documentation for mongoose (v4.9.5)

Mongoose MongoDB ODM

table of contents

  1. module mongoose
    1. function mongoose.ES6Promise ()
    2. function mongoose.aggregate ()
    3. function mongoose.array (key, cast, options, schemaOptions)
    4. function mongoose.boolean (path, options)
    5. function mongoose.browserDocument (obj, schema, fields, skipId, skipInit)
    6. function mongoose.browserMissingSchema ()
    7. function mongoose.buffer (key, options)
    8. function mongoose.collection (name, conn, opts)
    9. function mongoose.connection (base)
    10. function mongoose.date (key, options)
    11. function mongoose.decimal128 (key, options)
    12. function mongoose.disconnected (connectionString)
    13. function mongoose.divergentArray (paths)
    14. function mongoose.document (obj, fields, skipId)
    15. function mongoose.documentarray (key, schema, options)
    16. function mongoose.embedded (schema, path, options)
    17. function mongoose.error (msg)
    18. function mongoose.missingSchema (name)
    19. function mongoose.mixed (path, options)
    20. function mongoose.model (doc, fields, skipId)
    21. function mongoose.notFound (query)
    22. function mongoose.number (key, options)
    23. function mongoose.objectExpected (path, val)
    24. function mongoose.objectid (key, options)
    25. function mongoose.overwriteModel (name)
    26. function mongoose.promise (fn)
    27. function mongoose.query (conditions, options, model, collection)
    28. function mongoose.querycursor (query, options)
    29. function mongoose.querystream (query, options)
    30. function mongoose.schema (obj, options)
    31. function mongoose.schematype (path, options, instance)
    32. function mongoose.statemachine ()
    33. function mongoose.strict (path, msg)
    34. function mongoose.string (key, options)
    35. function mongoose.subdocument (value, fields)
    36. function mongoose.validation (instance)
    37. function mongoose.validator (properties)
    38. function mongoose.version (doc)
    39. function mongoose.virtualtype (options, name)
    40. object mongoose.aggregate.prototype
    41. object mongoose.array.prototype
    42. object mongoose.boolean.prototype
    43. object mongoose.browser
    44. object mongoose.browserDocument.prototype
    45. object mongoose.browserMissingSchema.prototype
    46. object mongoose.buffer.prototype
    47. object mongoose.collection.prototype
    48. object mongoose.common
    49. object mongoose.connection.prototype
    50. object mongoose.connections
    51. object mongoose.date.prototype
    52. object mongoose.decimal128.prototype
    53. object mongoose.disconnected.prototype
    54. object mongoose.divergentArray.prototype
    55. object mongoose.document.prototype
    56. object mongoose.documentarray.prototype
    57. object mongoose.embedded.prototype
    58. object mongoose.error.prototype
    59. object mongoose.missingSchema.prototype
    60. object mongoose.mixed.prototype
    61. object mongoose.model.prototype
    62. object mongoose.modelSchemas
    63. object mongoose.models
    64. object mongoose.notFound.prototype
    65. object mongoose.number.prototype
    66. object mongoose.objectExpected.prototype
    67. object mongoose.objectid.prototype
    68. object mongoose.options
    69. object mongoose.overwriteModel.prototype
    70. object mongoose.plugins
    71. object mongoose.promise.prototype
    72. object mongoose.promise_provider
    73. object mongoose.query.prototype
    74. object mongoose.querycursor.prototype
    75. object mongoose.queryhelpers
    76. object mongoose.querystream.prototype
    77. object mongoose.schema.prototype
    78. object mongoose.schematype.prototype
    79. object mongoose.statemachine.prototype
    80. object mongoose.strict.prototype
    81. object mongoose.string.prototype
    82. object mongoose.subdocument.prototype
    83. object mongoose.utils
    84. object mongoose.validation.prototype
    85. object mongoose.validator.prototype
    86. object mongoose.version.prototype
    87. object mongoose.virtualtype.prototype
  2. module mongoose.ES6Promise
    1. function mongoose.ES6Promise ()
    2. function mongoose.ES6Promise.use (Promise)
  3. module mongoose.aggregate
    1. function mongoose.aggregate ()
  4. module mongoose.aggregate.prototype
    1. function mongoose.aggregate.prototype.addCursorFlag (flag, value)
    2. function mongoose.aggregate.prototype.allowDiskUse (value)
    3. function mongoose.aggregate.prototype.append ()
    4. function mongoose.aggregate.prototype.collation (collation)
    5. function mongoose.aggregate.prototype.cursor (options)
    6. function mongoose.aggregate.prototype.exec (callback)
    7. function mongoose.aggregate.prototype.explain (callback)
    8. function mongoose.aggregate.prototype.facet (options)
    9. function mongoose.aggregate.prototype.graphLookup (options)
    10. function mongoose.aggregate.prototype.group (arg)
    11. function mongoose.aggregate.prototype.limit (arg)
    12. function mongoose.aggregate.prototype.lookup (options)
    13. function mongoose.aggregate.prototype.match (arg)
    14. function mongoose.aggregate.prototype.model (model)
    15. function mongoose.aggregate.prototype.near (arg)
    16. function mongoose.aggregate.prototype.out (arg)
    17. function mongoose.aggregate.prototype.project (arg)
    18. function mongoose.aggregate.prototype.read (pref, tags)
    19. function mongoose.aggregate.prototype.sample (size)
    20. function mongoose.aggregate.prototype.skip (arg)
    21. function mongoose.aggregate.prototype.sort (arg)
    22. function mongoose.aggregate.prototype.then (resolve, reject)
    23. function mongoose.aggregate.prototype.unwind ()
  5. module mongoose.array
    1. function mongoose.array (key, cast, options, schemaOptions)
    2. string mongoose.array.schemaName
  6. module mongoose.array.prototype
    1. function mongoose.array.prototype.applyGetters (value, scope)
    2. function mongoose.array.prototype.cast (value, doc, init)
    3. function mongoose.array.prototype.castForQuery ($conditional, value)
    4. function mongoose.array.prototype.checkRequired (value)
    5. function mongoose.array.prototype.constructor (key, cast, options, schemaOptions)
  7. module mongoose.boolean
    1. function mongoose.boolean (path, options)
    2. string mongoose.boolean.schemaName
  8. module mongoose.boolean.prototype
    1. function mongoose.boolean.prototype.cast (value)
    2. function mongoose.boolean.prototype.castForQuery ($conditional, val)
    3. function mongoose.boolean.prototype.checkRequired (value)
    4. function mongoose.boolean.prototype.constructor (path, options)
  9. module mongoose.browser
    1. function mongoose.browser.Document (obj, fields, skipId)
    2. function mongoose.browser.Error (msg)
    3. function mongoose.browser.Schema (obj, options)
    4. function mongoose.browser.SchemaType (path, options, instance)
    5. function mongoose.browser.VirtualType (options, name)
    6. object mongoose.browser.PromiseProvider
    7. object mongoose.browser.Types
    8. object mongoose.browser.utils
  10. module mongoose.browserDocument
    1. function mongoose.browserDocument (obj, schema, fields, skipId, skipInit)
    2. function mongoose.browserDocument.ValidationError (instance)
    3. function mongoose.browserDocument.addListener ()
    4. function mongoose.browserDocument.emit ()
    5. function mongoose.browserDocument.listeners ()
    6. function mongoose.browserDocument.on ()
    7. function mongoose.browserDocument.once ()
    8. function mongoose.browserDocument.removeAllListeners ()
    9. function mongoose.browserDocument.removeListener ()
    10. function mongoose.browserDocument.setMaxListeners ()
  11. module mongoose.browserDocument.prototype
    1. function mongoose.browserDocument.prototype.constructor (obj, schema, fields, skipId, skipInit)
  12. module mongoose.browserMissingSchema
    1. function mongoose.browserMissingSchema ()
  13. module mongoose.browserMissingSchema.prototype
    1. function mongoose.browserMissingSchema.prototype.constructor (msg)
  14. module mongoose.buffer
    1. function mongoose.buffer (key, options)
    2. string mongoose.buffer.schemaName
  15. module mongoose.buffer.prototype
    1. function mongoose.buffer.prototype.cast (value, doc, init)
    2. function mongoose.buffer.prototype.castForQuery ($conditional, val)
    3. function mongoose.buffer.prototype.checkRequired (value, doc)
    4. function mongoose.buffer.prototype.constructor (key, options)
  16. module mongoose.collection
    1. function mongoose.collection (name, conn, opts)
  17. module mongoose.collection.prototype
    1. function mongoose.collection.prototype.addQueue (name, args)
    2. function mongoose.collection.prototype.doQueue ()
    3. function mongoose.collection.prototype.ensureIndex ()
    4. function mongoose.collection.prototype.find ()
    5. function mongoose.collection.prototype.findAndModify ()
    6. function mongoose.collection.prototype.findOne ()
    7. function mongoose.collection.prototype.getIndexes ()
    8. function mongoose.collection.prototype.insert ()
    9. function mongoose.collection.prototype.mapReduce ()
    10. function mongoose.collection.prototype.onClose ()
    11. function mongoose.collection.prototype.onOpen ()
    12. function mongoose.collection.prototype.save ()
    13. function mongoose.collection.prototype.update ()
  18. module mongoose.common
    1. function mongoose.common.flatten (update, path, options)
    2. function mongoose.common.modifiedPaths (update, path, result)
  19. module mongoose.connection
    1. function mongoose.connection (base)
    2. object mongoose.connection.STATES
  20. module mongoose.connection.prototype
    1. function mongoose.connection.prototype._close (callback)
    2. function mongoose.connection.prototype._open (emit, callback)
    3. function mongoose.connection.prototype.authMechanismDoesNotRequirePassword ()
    4. function mongoose.connection.prototype.close (callback)
    5. function mongoose.connection.prototype.collection (name, options)
    6. function mongoose.connection.prototype.dropDatabase (callback)
    7. function mongoose.connection.prototype.error (err, callback)
    8. function mongoose.connection.prototype.model (name, schema, collection)
    9. function mongoose.connection.prototype.modelNames ()
    10. function mongoose.connection.prototype.onClose ()
    11. function mongoose.connection.prototype.onOpen (callback)
    12. function mongoose.connection.prototype.open (host, database, port, options, callback)
    13. function mongoose.connection.prototype.openSet (uris, database, options, callback)
    14. function mongoose.connection.prototype.optionsProvideAuthenticationData (options)
    15. function mongoose.connection.prototype.shouldAuthenticate ()
  21. module mongoose.date
    1. function mongoose.date (key, options)
    2. string mongoose.date.schemaName
  22. module mongoose.date.prototype
    1. function mongoose.date.prototype.cast (value)
    2. function mongoose.date.prototype.castForQuery ($conditional, val)
    3. function mongoose.date.prototype.checkRequired (value)
    4. function mongoose.date.prototype.constructor (key, options)
    5. function mongoose.date.prototype.expires (when)
    6. function mongoose.date.prototype.max (value, message)
    7. function mongoose.date.prototype.min (value, message)
  23. module mongoose.decimal128
    1. function mongoose.decimal128 (key, options)
    2. string mongoose.decimal128.schemaName
  24. module mongoose.decimal128.prototype
    1. function mongoose.decimal128.prototype.cast (value, doc, init)
    2. function mongoose.decimal128.prototype.castForQuery ($conditional, val)
    3. function mongoose.decimal128.prototype.checkRequired (value, doc)
    4. function mongoose.decimal128.prototype.constructor (key, options)
  25. module mongoose.disconnected
    1. function mongoose.disconnected (connectionString)
  26. module mongoose.disconnected.prototype
    1. function mongoose.disconnected.prototype.constructor (msg)
  27. module mongoose.divergentArray
    1. function mongoose.divergentArray (paths)
  28. module mongoose.divergentArray.prototype
    1. function mongoose.divergentArray.prototype.constructor (msg)
  29. module mongoose.document
    1. function mongoose.document (obj, fields, skipId)
    2. function mongoose.document.ValidationError (instance)
    3. function mongoose.document._lazySetupHooks (proto, methodName, errorCb)
    4. function mongoose.document.removePost (name, fnToRemove)
    5. function mongoose.document.removePre (name, fnToRemove)
  30. module mongoose.document.prototype
    1. function mongoose.document.prototype._lazySetupHooks (proto, methodName, errorCb)
    2. function mongoose.document.prototype.addListener ()
    3. function mongoose.document.prototype.depopulate (path)
    4. function mongoose.document.prototype.emit ()
    5. function mongoose.document.prototype.equals (doc)
    6. function mongoose.document.prototype.execPopulate ()
    7. function mongoose.document.prototype.get (path, type)
    8. function mongoose.document.prototype.getValue (path)
    9. function mongoose.document.prototype.init (doc, opts, fn)
    10. function mongoose.document.prototype.inspect (options)
    11. function mongoose.document.prototype.invalidate (path, err, val, kind)
    12. function mongoose.document.prototype.isDirectModified (path)
    13. function mongoose.document.prototype.isDirectSelected (path)
    14. function mongoose.document.prototype.isInit (path)
    15. function mongoose.document.prototype.isModified (paths)
    16. function mongoose.document.prototype.isSelected (path)
    17. function mongoose.document.prototype.listeners ()
    18. function mongoose.document.prototype.markModified (path)
    19. function mongoose.document.prototype.modifiedPaths ()
    20. function mongoose.document.prototype.on ()
    21. function mongoose.document.prototype.once ()
    22. function mongoose.document.prototype.populate ()
    23. function mongoose.document.prototype.populated (path, val, options)
    24. function mongoose.document.prototype.removeAllListeners ()
    25. function mongoose.document.prototype.removeListener ()
    26. function mongoose.document.prototype.removePost (name, fnToRemove)
    27. function mongoose.document.prototype.removePre (name, fnToRemove)
    28. function mongoose.document.prototype.set (path, val, type, options)
    29. function mongoose.document.prototype.setMaxListeners ()
    30. function mongoose.document.prototype.setValue (path, val)
    31. function mongoose.document.prototype.toBSON ()
    32. function mongoose.document.prototype.toJSON (options)
    33. function mongoose.document.prototype.toObject (options)
    34. function mongoose.document.prototype.toString ()
    35. function mongoose.document.prototype.unmarkModified (path)
    36. function mongoose.document.prototype.update ()
    37. function mongoose.document.prototype.validate (options, callback)
    38. function mongoose.document.prototype.validateSync (pathsToValidate)
  31. module mongoose.documentarray
    1. function mongoose.documentarray (key, schema, options)
    2. string mongoose.documentarray.schemaName
  32. module mongoose.documentarray.prototype
    1. function mongoose.documentarray.prototype.cast (value, doc, init, prev, options)
    2. function mongoose.documentarray.prototype.constructor (key, schema, options)
    3. function mongoose.documentarray.prototype.discriminator (name, schema)
    4. function mongoose.documentarray.prototype.doValidate (array, fn, scope, options)
    5. function mongoose.documentarray.prototype.doValidateSync (array, scope)
  33. module mongoose.embedded
    1. function mongoose.embedded (schema, path, options)
  34. module mongoose.embedded.prototype
    1. function mongoose.embedded.prototype.cast (val, doc, init)
    2. function mongoose.embedded.prototype.castForQuery ($conditional, val)
    3. function mongoose.embedded.prototype.doValidate (value, fn, scope)
    4. function mongoose.embedded.prototype.doValidateSync (value, scope)
  35. module mongoose.error
    1. function mongoose.error (msg)
    2. function mongoose.error.CastError (type, value, path, reason)
    3. function mongoose.error.DivergentArrayError (paths)
    4. function mongoose.error.DocumentNotFoundError (query)
    5. function mongoose.error.MissingSchemaError (name)
    6. function mongoose.error.OverwriteModelError (name)
    7. function mongoose.error.ValidationError (instance)
    8. function mongoose.error.ValidatorError (properties)
    9. function mongoose.error.VersionError (doc)
    10. object mongoose.error.Messages
    11. object mongoose.error.messages
  36. module mongoose.error.prototype
    1. function mongoose.error.prototype.constructor ()
  37. module mongoose.missingSchema
    1. function mongoose.missingSchema (name)
  38. module mongoose.missingSchema.prototype
    1. function mongoose.missingSchema.prototype.constructor (msg)
  39. module mongoose.mixed
    1. function mongoose.mixed (path, options)
    2. string mongoose.mixed.schemaName
  40. module mongoose.mixed.prototype
    1. function mongoose.mixed.prototype.cast (val)
    2. function mongoose.mixed.prototype.castForQuery ($cond, val)
    3. function mongoose.mixed.prototype.constructor (path, options)
  41. module mongoose.model
    1. function mongoose.model (doc, fields, skipId)
    2. function mongoose.model.__subclass (conn, schema, collection)
    3. function mongoose.model._getSchema (path)
    4. function mongoose.model.addListener (type, listener)
    5. function mongoose.model.aggregate ()
    6. function mongoose.model.bulkWrite (ops, options, callback)
    7. function mongoose.model.compile (name, schema, collectionName, connection, base)
    8. function mongoose.model.count (conditions, callback)
    9. function mongoose.model.create (doc, callback)
    10. function mongoose.model.deleteMany (conditions, callback)
    11. function mongoose.model.deleteOne (conditions, callback)
    12. function mongoose.model.discriminator (name, schema)
    13. function mongoose.model.distinct (field, conditions, callback)
    14. function mongoose.model.emit (type)
    15. function mongoose.model.ensureIndexes (options, callback)
    16. function mongoose.model.eventNames ()
    17. function mongoose.model.find (conditions, projection, options, callback)
    18. function mongoose.model.findById (id, projection, options, callback)
    19. function mongoose.model.findByIdAndRemove (id, options, callback)
    20. function mongoose.model.findByIdAndUpdate (id, update, options, callback)
    21. function mongoose.model.findOne (conditions, projection, options, callback)
    22. function mongoose.model.findOneAndRemove (conditions, options, callback)
    23. function mongoose.model.findOneAndUpdate (conditions, update, options, callback)
    24. function mongoose.model.geoNear (near, options, callback)
    25. function mongoose.model.geoSearch (conditions, options, callback)
    26. function mongoose.model.getMaxListeners ()
    27. function mongoose.model.hydrate (obj)
    28. function mongoose.model.init ()
    29. function mongoose.model.insertMany (arr, options, callback)
    30. function mongoose.model.listenerCount (type)
    31. function mongoose.model.listeners (type)
    32. function mongoose.model.mapReduce (o, callback)
    33. function mongoose.model.on (type, listener)
    34. function mongoose.model.once (type, listener)
    35. function mongoose.model.populate (docs, paths, callback)
    36. function mongoose.model.prependListener (type, listener)
    37. function mongoose.model.prependOnceListener (type, listener)
    38. function mongoose.model.remove (conditions, callback)
    39. function mongoose.model.removeAllListeners (type)
    40. function mongoose.model.removeListener (type, listener)
    41. function mongoose.model.replaceOne (conditions, doc, options, callback)
    42. function mongoose.model.setMaxListeners (n)
    43. function mongoose.model.update (conditions, doc, options, callback)
    44. function mongoose.model.updateMany (conditions, doc, options, callback)
    45. function mongoose.model.updateOne (conditions, doc, options, callback)
    46. function mongoose.model.where (path, val)
    47. undefined mongoose.model.domain
  42. module mongoose.model.prototype
    1. function mongoose.model.prototype.increment ()
    2. function mongoose.model.prototype.model (name)
    3. function mongoose.model.prototype.remove (options, fn)
    4. function mongoose.model.prototype.save (options, fn)
  43. module mongoose.notFound
    1. function mongoose.notFound (query)
  44. module mongoose.notFound.prototype
    1. function mongoose.notFound.prototype.constructor (msg)
  45. module mongoose.number
    1. function mongoose.number (key, options)
    2. string mongoose.number.schemaName
  46. module mongoose.number.prototype
    1. function mongoose.number.prototype.cast (value, doc, init)
    2. function mongoose.number.prototype.castForQuery ($conditional, val)
    3. function mongoose.number.prototype.checkRequired (value, doc)
    4. function mongoose.number.prototype.constructor (key, options)
    5. function mongoose.number.prototype.max (value, message)
    6. function mongoose.number.prototype.min (value, message)
  47. module mongoose.objectExpected
    1. function mongoose.objectExpected (path, val)
  48. module mongoose.objectExpected.prototype
    1. function mongoose.objectExpected.prototype.constructor (msg)
  49. module mongoose.objectid
    1. function mongoose.objectid (key, options)
    2. string mongoose.objectid.schemaName
  50. module mongoose.objectid.prototype
    1. function mongoose.objectid.prototype.auto (turnOn)
    2. function mongoose.objectid.prototype.cast (value, doc, init)
    3. function mongoose.objectid.prototype.castForQuery ($conditional, val)
    4. function mongoose.objectid.prototype.checkRequired (value, doc)
    5. function mongoose.objectid.prototype.constructor (key, options)
  51. module mongoose.overwriteModel
    1. function mongoose.overwriteModel (name)
  52. module mongoose.overwriteModel.prototype
    1. function mongoose.overwriteModel.prototype.constructor (msg)
  53. module mongoose.promise
    1. function mongoose.promise (fn)
    2. function mongoose.promise.ES6 (resolver)
    3. string mongoose.promise.FAILURE
    4. string mongoose.promise.SUCCESS
  54. module mongoose.promise.prototype
    1. function mongoose.promise.prototype.addBack (fn)
    2. function mongoose.promise.prototype.addCallback (fn)
    3. function mongoose.promise.prototype.addErrback (fn)
    4. function mongoose.promise.prototype.catch (onReject)
    5. function mongoose.promise.prototype.complete ()
    6. function mongoose.promise.prototype.error (err)
    7. function mongoose.promise.prototype.resolve (err)
    8. function mongoose.promise.prototype.then ()
  55. module mongoose.promise_provider
    1. function mongoose.promise_provider._promise (fn)
    2. function mongoose.promise_provider.get ()
    3. function mongoose.promise_provider.reset ()
    4. function mongoose.promise_provider.set (lib)
  56. module mongoose.query
    1. function mongoose.query (conditions, options, model, collection)
    2. object mongoose.query.base
  57. module mongoose.query.prototype
    1. function mongoose.query.prototype._applyPaths ()
    2. function mongoose.query.prototype._castFields (fields)
    3. function mongoose.query.prototype._castUpdate (obj, overwrite)
    4. function mongoose.query.prototype._count (callback)
    5. function mongoose.query.prototype._execUpdate (callback)
    6. function mongoose.query.prototype._find (callback)
    7. function mongoose.query.prototype._findAndModify (type, callback)
    8. function mongoose.query.prototype._findOne (callback)
    9. function mongoose.query.prototype._findOneAndRemove (callback)
    10. function mongoose.query.prototype._findOneAndUpdate (callback)
    11. function mongoose.query.prototype._mergeUpdate (doc)
    12. function mongoose.query.prototype._optionsForExec (model)
    13. function mongoose.query.prototype._replaceOne (callback)
    14. function mongoose.query.prototype._updateForExec ()
    15. function mongoose.query.prototype._updateMany (callback)
    16. function mongoose.query.prototype._updateOne (callback)
    17. function mongoose.query.prototype.box (ll, ur)
    18. function mongoose.query.prototype.cast (model, obj)
    19. function mongoose.query.prototype.catch (reject)
    20. function mongoose.query.prototype.center ()
    21. function mongoose.query.prototype.centerSphere ()
    22. function mongoose.query.prototype.collation (value)
    23. function mongoose.query.prototype.constructor (conditions, options, model, collection)
    24. function mongoose.query.prototype.count (conditions, callback)
    25. function mongoose.query.prototype.cursor (opts)
    26. function mongoose.query.prototype.deleteMany (cond, callback)
    27. function mongoose.query.prototype.deleteOne (cond, callback)
    28. function mongoose.query.prototype.distinct (field, conditions, callback)
    29. function mongoose.query.prototype.exec (op, callback)
    30. function mongoose.query.prototype.find (conditions, callback)
    31. function mongoose.query.prototype.findOne (conditions, projection, options, callback)
    32. function mongoose.query.prototype.findOneAndRemove (conditions, options, callback)
    33. function mongoose.query.prototype.findOneAndUpdate (criteria, doc, options, callback)
    34. function mongoose.query.prototype.getQuery ()
    35. function mongoose.query.prototype.getUpdate ()
    36. function mongoose.query.prototype.lean (v)
    37. function mongoose.query.prototype.maxscan (v)
    38. function mongoose.query.prototype.merge (source)
    39. function mongoose.query.prototype.mongooseOptions (v)
    40. function mongoose.query.prototype.near ()
    41. function mongoose.query.prototype.nearSphere ()
    42. function mongoose.query.prototype.populate ()
    43. function mongoose.query.prototype.read (pref, tags)
    44. function mongoose.query.prototype.remove (cond, callback)
    45. function mongoose.query.prototype.replaceOne (conditions, doc, options, callback)
    46. function mongoose.query.prototype.setOptions (options, overwrite)
    47. function mongoose.query.prototype.sort (arg)
    48. function mongoose.query.prototype.stream ()
    49. function mongoose.query.prototype.tailable (val, opts)
    50. function mongoose.query.prototype.then (resolve, reject)
    51. function mongoose.query.prototype.toConstructor ()
    52. function mongoose.query.prototype.update (conditions, doc, options, callback)
    53. function mongoose.query.prototype.updateMany (conditions, doc, options, callback)
    54. function mongoose.query.prototype.updateOne (conditions, doc, options, callback)
    55. object mongoose.query.prototype._conditions
    56. object mongoose.query.prototype.options
  58. module mongoose.querycursor
    1. function mongoose.querycursor (query, options)
    2. function mongoose.querycursor.super_ (options)
  59. module mongoose.querycursor.prototype
    1. function mongoose.querycursor.prototype._markError (error)
    2. function mongoose.querycursor.prototype._read ()
    3. function mongoose.querycursor.prototype.close (callback)
    4. function mongoose.querycursor.prototype.eachAsync (fn, callback)
    5. function mongoose.querycursor.prototype.map (fn)
    6. function mongoose.querycursor.prototype.next (callback)
  60. module mongoose.queryhelpers
    1. function mongoose.queryhelpers.applyPaths (fields, schema)
    2. function mongoose.queryhelpers.createModel (model, doc, fields)
    3. function mongoose.queryhelpers.preparePopulationOptions (query, options)
    4. function mongoose.queryhelpers.preparePopulationOptionsMQ (query, options)
  61. module mongoose.querystream
    1. function mongoose.querystream (query, options)
  62. module mongoose.querystream.prototype
    1. function mongoose.querystream.prototype.__next ()
    2. function mongoose.querystream.prototype._init ()
    3. function mongoose.querystream.prototype._next ()
    4. function mongoose.querystream.prototype._onNextObject (err, doc)
    5. function mongoose.querystream.prototype.destroy (err)
    6. function mongoose.querystream.prototype.pause ()
    7. function mongoose.querystream.prototype.resume ()
  63. module mongoose.schema
    1. function mongoose.schema (obj, options)
    2. function mongoose.schema.ObjectId (key, options)
    3. function mongoose.schema.interpretAsType (path, obj, options)
    4. object mongoose.schema.Types
    5. object mongoose.schema.reserved
  64. module mongoose.schema.prototype
    1. boolean mongoose.schema.prototype.instanceOfSchema
    2. function mongoose.schema.prototype._getPathType (path)
    3. function mongoose.schema.prototype._getSchema (path)
    4. function mongoose.schema.prototype._getVirtual (name)
    5. function mongoose.schema.prototype.add (obj, prefix)
    6. function mongoose.schema.prototype.clone ()
    7. function mongoose.schema.prototype.constructor (obj, options)
    8. function mongoose.schema.prototype.defaultOptions (options)
    9. function mongoose.schema.prototype.eachPath (fn)
    10. function mongoose.schema.prototype.get (key)
    11. function mongoose.schema.prototype.hasMixedParent (path)
    12. function mongoose.schema.prototype.index (fields, options)
    13. function mongoose.schema.prototype.indexedPaths ()
    14. function mongoose.schema.prototype.indexes ()
    15. function mongoose.schema.prototype.loadClass (model, virtualsOnly)
    16. function mongoose.schema.prototype.method (name, fn)
    17. function mongoose.schema.prototype.path (path, obj)
    18. function mongoose.schema.prototype.pathType (path)
    19. function mongoose.schema.prototype.plugin (fn, opts)
    20. function mongoose.schema.prototype.post (method, fn)
    21. function mongoose.schema.prototype.pre ()
    22. function mongoose.schema.prototype.queue (name, args)
    23. function mongoose.schema.prototype.remove (path)
    24. function mongoose.schema.prototype.requiredPaths (invalidate)
    25. function mongoose.schema.prototype.set (key, value, _tags)
    26. function mongoose.schema.prototype.setupTimestamp (timestamps)
    27. function mongoose.schema.prototype.static (name, fn)
    28. function mongoose.schema.prototype.virtual (name, options)
    29. function mongoose.schema.prototype.virtualpath (name)
  65. module mongoose.schematype
    1. function mongoose.schematype (path, options, instance)
    2. function mongoose.schematype.CastError (type, value, path, reason)
    3. function mongoose.schematype.ValidatorError (properties)
    4. function mongoose.schematype._isRef (self, value, doc, init)
  66. module mongoose.schematype.prototype
    1. function mongoose.schematype.prototype.applyGetters (value, scope)
    2. function mongoose.schematype.prototype.applySetters (value, scope, init, priorVal, options)
    3. function mongoose.schematype.prototype.castForQuery ($conditional, val)
    4. function mongoose.schematype.prototype.checkRequired (val)
    5. function mongoose.schematype.prototype.default (val)
    6. function mongoose.schematype.prototype.doValidate (value, fn, scope)
    7. function mongoose.schematype.prototype.doValidateSync (value, scope)
    8. function mongoose.schematype.prototype.get (fn)
    9. function mongoose.schematype.prototype.getDefault (scope, init)
    10. function mongoose.schematype.prototype.index (options)
    11. function mongoose.schematype.prototype.required (required, message)
    12. function mongoose.schematype.prototype.select (val)
    13. function mongoose.schematype.prototype.set (fn)
    14. function mongoose.schematype.prototype.sparse (bool)
    15. function mongoose.schematype.prototype.text (bool)
    16. function mongoose.schematype.prototype.unique (bool)
    17. function mongoose.schematype.prototype.validate (obj, message, type)
  67. module mongoose.statemachine
    1. function mongoose.statemachine ()
    2. function mongoose.statemachine.ctor ()
  68. module mongoose.statemachine.prototype
    1. function mongoose.statemachine.prototype._changeState (path, nextState)
    2. function mongoose.statemachine.prototype._iter (iterMethod)
    3. function mongoose.statemachine.prototype.clear (state)
    4. function mongoose.statemachine.prototype.forEach ()
    5. function mongoose.statemachine.prototype.map ()
    6. function mongoose.statemachine.prototype.some ()
  69. module mongoose.strict
    1. function mongoose.strict (path, msg)
  70. module mongoose.strict.prototype
    1. function mongoose.strict.prototype.constructor (msg)
  71. module mongoose.string
    1. function mongoose.string (key, options)
    2. string mongoose.string.schemaName
  72. module mongoose.string.prototype
    1. function mongoose.string.prototype.cast (value, doc, init)
    2. function mongoose.string.prototype.castForQuery ($conditional, val)
    3. function mongoose.string.prototype.checkRequired (value, doc)
    4. function mongoose.string.prototype.constructor (key, options)
    5. function mongoose.string.prototype.enum ()
    6. function mongoose.string.prototype.lowercase (shouldApply)
    7. function mongoose.string.prototype.match (regExp, message)
    8. function mongoose.string.prototype.maxlength (value, message)
    9. function mongoose.string.prototype.minlength (value, message)
    10. function mongoose.string.prototype.trim (shouldTrim)
    11. function mongoose.string.prototype.uppercase (shouldApply)
  73. module mongoose.subdocument
    1. function mongoose.subdocument (value, fields)
  74. module mongoose.subdocument.prototype
    1. function mongoose.subdocument.prototype.invalidate (path, err, val)
    2. function mongoose.subdocument.prototype.markModified (path)
    3. function mongoose.subdocument.prototype.ownerDocument ()
    4. function mongoose.subdocument.prototype.populate ()
    5. function mongoose.subdocument.prototype.remove (options, callback)
    6. function mongoose.subdocument.prototype.save (fn)
    7. function mongoose.subdocument.prototype.toBSON ()
  75. module mongoose.utils
    1. function mongoose.utils.PopulateOptions (path, select, match, options, model, subPopulate)
    2. function mongoose.utils.args (args, slice, sliceEnd)
    3. function mongoose.utils.clone (obj, options)
    4. function mongoose.utils.decorate (destination, source)
    5. function mongoose.utils.deepEqual (a, b)
    6. function mongoose.utils.each (arr, fn)
    7. function mongoose.utils.expires (object)
    8. function mongoose.utils.getFunctionName (fn)
    9. function mongoose.utils.getValue (path, obj, map)
    10. function mongoose.utils.isMongooseObject (v)
    11. function mongoose.utils.isNullOrUndefined (val)
    12. function mongoose.utils.isObject (arg)
    13. function mongoose.utils.merge (to, from, options)
    14. function mongoose.utils.mergeClone (to, fromObj)
    15. function mongoose.utils.options (defaults, options)
    16. function mongoose.utils.populate (path, select, model, match, options, subPopulate)
    17. function mongoose.utils.random ()
    18. function mongoose.utils.setValue (path, val, obj, map)
    19. function mongoose.utils.tick (callback)
    20. function mongoose.utils.toCollectionName (name, options)
    21. function mongoose.utils.toObject (obj)
    22. object mongoose.utils.array
    23. object mongoose.utils.buffer
    24. object mongoose.utils.object
    25. object mongoose.utils.pluralization
    26. object mongoose.utils.uncountables
  76. module mongoose.validation
    1. function mongoose.validation (instance)
  77. module mongoose.validation.prototype
    1. function mongoose.validation.prototype.constructor (msg)
    2. function mongoose.validation.prototype.toString ()
  78. module mongoose.validator
    1. function mongoose.validator (properties)
  79. module mongoose.validator.prototype
    1. function mongoose.validator.prototype.constructor (msg)
    2. function mongoose.validator.prototype.formatMessage (msg, properties)
    3. function mongoose.validator.prototype.toString ()
  80. module mongoose.version
    1. function mongoose.version (doc)
  81. module mongoose.version.prototype
    1. function mongoose.version.prototype.constructor (msg)
  82. module mongoose.virtualtype
    1. function mongoose.virtualtype (options, name)
  83. module mongoose.virtualtype.prototype
    1. function mongoose.virtualtype.prototype.applyGetters (value, scope)
    2. function mongoose.virtualtype.prototype.applySetters (value, scope)
    3. function mongoose.virtualtype.prototype.get (fn)
    4. function mongoose.virtualtype.prototype.set (fn)

module mongoose

function mongoose.ES6Promise ()

function mongoose.aggregate ()

function mongoose.array (key, cast, options, schemaOptions)

function mongoose.boolean (path, options)

function mongoose.browserDocument (obj, schema, fields, skipId, skipInit)

function mongoose.browserMissingSchema ()

function mongoose.buffer (key, options)

function mongoose.collection (name, conn, opts)

function mongoose.connection (base)

function mongoose.date (key, options)

function mongoose.decimal128 (key, options)

function mongoose.disconnected (connectionString)

function mongoose.divergentArray (paths)

function mongoose.document (obj, fields, skipId)

function mongoose.documentarray (key, schema, options)

function mongoose.embedded (schema, path, options)

function mongoose.error (msg)

function mongoose.missingSchema (name)

function mongoose.mixed (path, options)

function mongoose.model (doc, fields, skipId)

function mongoose.notFound (query)

function mongoose.number (key, options)

function mongoose.objectExpected (path, val)

function mongoose.objectid (key, options)

function mongoose.overwriteModel (name)

function mongoose.promise (fn)

function mongoose.query (conditions, options, model, collection)

function mongoose.querycursor (query, options)

function mongoose.querystream (query, options)

function mongoose.schema (obj, options)

function mongoose.schematype (path, options, instance)

function mongoose.statemachine ()

function mongoose.strict (path, msg)

function mongoose.string (key, options)

function mongoose.subdocument (value, fields)

function mongoose.validation (instance)

function mongoose.validator (properties)

function mongoose.version (doc)

function mongoose.virtualtype (options, name)

module mongoose.ES6Promise

function mongoose.ES6Promise ()

function mongoose.ES6Promise.use (Promise)

module mongoose.aggregate

function mongoose.aggregate ()

module mongoose.aggregate.prototype

function mongoose.aggregate.prototype.addCursorFlag (flag, value)

function mongoose.aggregate.prototype.allowDiskUse (value)

function mongoose.aggregate.prototype.append ()

function mongoose.aggregate.prototype.collation (collation)

function mongoose.aggregate.prototype.cursor (options)

function mongoose.aggregate.prototype.exec (callback)

function mongoose.aggregate.prototype.explain (callback)

function mongoose.aggregate.prototype.facet (options)

function mongoose.aggregate.prototype.graphLookup (options)

function mongoose.aggregate.prototype.group (arg)

function mongoose.aggregate.prototype.limit (arg)

function mongoose.aggregate.prototype.lookup (options)

function mongoose.aggregate.prototype.match (arg)

function mongoose.aggregate.prototype.model (model)

function mongoose.aggregate.prototype.near (arg)

function mongoose.aggregate.prototype.out (arg)

function mongoose.aggregate.prototype.project (arg)

function mongoose.aggregate.prototype.read (pref, tags)

function mongoose.aggregate.prototype.sample (size)

function mongoose.aggregate.prototype.skip (arg)

function mongoose.aggregate.prototype.sort (arg)

function mongoose.aggregate.prototype.then (resolve, reject)

function mongoose.aggregate.prototype.unwind ()

module mongoose.array

function mongoose.array (key, cast, options, schemaOptions)

module mongoose.array.prototype

function mongoose.array.prototype.applyGetters (value, scope)

function mongoose.array.prototype.cast (value, doc, init)

function mongoose.array.prototype.castForQuery ($conditional, value)

function mongoose.array.prototype.checkRequired (value)

function mongoose.array.prototype.constructor (key, cast, options, schemaOptions)

module mongoose.boolean

function mongoose.boolean (path, options)

module mongoose.boolean.prototype

function mongoose.boolean.prototype.cast (value)

function mongoose.boolean.prototype.castForQuery ($conditional, val)

function mongoose.boolean.prototype.checkRequired (value)

function mongoose.boolean.prototype.constructor (path, options)

module mongoose.browser

function mongoose.browser.Document (obj, fields, skipId)

function mongoose.browser.Error (msg)

function mongoose.browser.Schema (obj, options)

function mongoose.browser.SchemaType (path, options, instance)

function mongoose.browser.VirtualType (options, name)

module mongoose.browserDocument

function mongoose.browserDocument (obj, schema, fields, skipId, skipInit)

function mongoose.browserDocument.ValidationError (instance)

function mongoose.browserDocument.addListener ()

function mongoose.browserDocument.emit ()

function mongoose.browserDocument.listeners ()

function mongoose.browserDocument.on ()

function mongoose.browserDocument.once ()

function mongoose.browserDocument.removeAllListeners ()

function mongoose.browserDocument.removeListener ()

function mongoose.browserDocument.setMaxListeners ()

module mongoose.browserDocument.prototype

function mongoose.browserDocument.prototype.constructor (obj, schema, fields, skipId, skipInit)

module mongoose.browserMissingSchema

function mongoose.browserMissingSchema ()

module mongoose.browserMissingSchema.prototype

function mongoose.browserMissingSchema.prototype.constructor (msg)

module mongoose.buffer

function mongoose.buffer (key, options)

module mongoose.buffer.prototype

function mongoose.buffer.prototype.cast (value, doc, init)

function mongoose.buffer.prototype.castForQuery ($conditional, val)

function mongoose.buffer.prototype.checkRequired (value, doc)

function mongoose.buffer.prototype.constructor (key, options)

module mongoose.collection

function mongoose.collection (name, conn, opts)

module mongoose.collection.prototype

function mongoose.collection.prototype.addQueue (name, args)

function mongoose.collection.prototype.doQueue ()

function mongoose.collection.prototype.ensureIndex ()

function mongoose.collection.prototype.find ()

function mongoose.collection.prototype.findAndModify ()

function mongoose.collection.prototype.findOne ()

function mongoose.collection.prototype.getIndexes ()

function mongoose.collection.prototype.insert ()

function mongoose.collection.prototype.mapReduce ()

function mongoose.collection.prototype.onClose ()

function mongoose.collection.prototype.onOpen ()

function mongoose.collection.prototype.save ()

function mongoose.collection.prototype.update ()

module mongoose.common

function mongoose.common.flatten (update, path, options)

function mongoose.common.modifiedPaths (update, path, result)

module mongoose.connection

function mongoose.connection (base)

module mongoose.connection.prototype

function mongoose.connection.prototype._close (callback)

function mongoose.connection.prototype._open (emit, callback)

function mongoose.connection.prototype.authMechanismDoesNotRequirePassword ()

function mongoose.connection.prototype.close (callback)

function mongoose.connection.prototype.collection (name, options)

function mongoose.connection.prototype.dropDatabase (callback)

function mongoose.connection.prototype.error (err, callback)

function mongoose.connection.prototype.model (name, schema, collection)

function mongoose.connection.prototype.modelNames ()

function mongoose.connection.prototype.onClose ()

function mongoose.connection.prototype.onOpen (callback)

function mongoose.connection.prototype.open (host, database, port, options, callback)

function mongoose.connection.prototype.openSet (uris, database, options, callback)

function mongoose.connection.prototype.optionsProvideAuthenticationData (options)

function mongoose.connection.prototype.shouldAuthenticate ()

module mongoose.date

function mongoose.date (key, options)

module mongoose.date.prototype

function mongoose.date.prototype.cast (value)

function mongoose.date.prototype.castForQuery ($conditional, val)

function mongoose.date.prototype.checkRequired (value)

function mongoose.date.prototype.constructor (key, options)

function mongoose.date.prototype.expires (when)

function mongoose.date.prototype.max (value, message)

function mongoose.date.prototype.min (value, message)

module mongoose.decimal128

function mongoose.decimal128 (key, options)

module mongoose.decimal128.prototype

function mongoose.decimal128.prototype.cast (value, doc, init)

function mongoose.decimal128.prototype.castForQuery ($conditional, val)

function mongoose.decimal128.prototype.checkRequired (value, doc)

function mongoose.decimal128.prototype.constructor (key, options)

module mongoose.disconnected

function mongoose.disconnected (connectionString)

module mongoose.disconnected.prototype

function mongoose.disconnected.prototype.constructor (msg)

module mongoose.divergentArray

function mongoose.divergentArray (paths)

module mongoose.divergentArray.prototype

function mongoose.divergentArray.prototype.constructor (msg)

module mongoose.document

function mongoose.document (obj, fields, skipId)

function mongoose.document.ValidationError (instance)

function mongoose.document._lazySetupHooks (proto, methodName, errorCb)

function mongoose.document.removePost (name, fnToRemove)

function mongoose.document.removePre (name, fnToRemove)

module mongoose.document.prototype

function mongoose.document.prototype._lazySetupHooks (proto, methodName, errorCb)

function mongoose.document.prototype.addListener ()

function mongoose.document.prototype.depopulate (path)

function mongoose.document.prototype.emit ()

function mongoose.document.prototype.equals (doc)

function mongoose.document.prototype.execPopulate ()

function mongoose.document.prototype.get (path, type)

function mongoose.document.prototype.getValue (path)

function mongoose.document.prototype.init (doc, opts, fn)

function mongoose.document.prototype.inspect (options)

function mongoose.document.prototype.invalidate (path, err, val, kind)

function mongoose.document.prototype.isDirectModified (path)

function mongoose.document.prototype.isDirectSelected (path)

function mongoose.document.prototype.isInit (path)

function mongoose.document.prototype.isModified (paths)

function mongoose.document.prototype.isSelected (path)

function mongoose.document.prototype.listeners ()

function mongoose.document.prototype.markModified (path)

function mongoose.document.prototype.modifiedPaths ()

function mongoose.document.prototype.on ()

function mongoose.document.prototype.once ()

function mongoose.document.prototype.populate ()

function mongoose.document.prototype.populated (path, val, options)

function mongoose.document.prototype.removeAllListeners ()

function mongoose.document.prototype.removeListener ()

function mongoose.document.prototype.removePost (name, fnToRemove)

function mongoose.document.prototype.removePre (name, fnToRemove)

function mongoose.document.prototype.set (path, val, type, options)

function mongoose.document.prototype.setMaxListeners ()

function mongoose.document.prototype.setValue (path, val)

function mongoose.document.prototype.toBSON ()

function mongoose.document.prototype.toJSON (options)

function mongoose.document.prototype.toObject (options)

function mongoose.document.prototype.toString ()

function mongoose.document.prototype.unmarkModified (path)

function mongoose.document.prototype.update ()

function mongoose.document.prototype.validate (options, callback)

function mongoose.document.prototype.validateSync (pathsToValidate)

module mongoose.documentarray

function mongoose.documentarray (key, schema, options)

module mongoose.documentarray.prototype

function mongoose.documentarray.prototype.cast (value, doc, init, prev, options)

function mongoose.documentarray.prototype.constructor (key, schema, options)

function mongoose.documentarray.prototype.discriminator (name, schema)

function mongoose.documentarray.prototype.doValidate (array, fn, scope, options)

function mongoose.documentarray.prototype.doValidateSync (array, scope)

module mongoose.embedded

function mongoose.embedded (schema, path, options)

module mongoose.embedded.prototype

function mongoose.embedded.prototype.cast (val, doc, init)

function mongoose.embedded.prototype.castForQuery ($conditional, val)

function mongoose.embedded.prototype.doValidate (value, fn, scope)

function mongoose.embedded.prototype.doValidateSync (value, scope)

module mongoose.error

function mongoose.error (msg)

function mongoose.error.CastError (type, value, path, reason)

function mongoose.error.DivergentArrayError (paths)

function mongoose.error.DocumentNotFoundError (query)

function mongoose.error.MissingSchemaError (name)

function mongoose.error.OverwriteModelError (name)

function mongoose.error.ValidationError (instance)

function mongoose.error.ValidatorError (properties)

function mongoose.error.VersionError (doc)

module mongoose.error.prototype

function mongoose.error.prototype.constructor ()

module mongoose.missingSchema

function mongoose.missingSchema (name)

module mongoose.missingSchema.prototype

function mongoose.missingSchema.prototype.constructor (msg)

module mongoose.mixed

function mongoose.mixed (path, options)

module mongoose.mixed.prototype

function mongoose.mixed.prototype.cast (val)

function mongoose.mixed.prototype.castForQuery ($cond, val)

function mongoose.mixed.prototype.constructor (path, options)

module mongoose.model

function mongoose.model (doc, fields, skipId)

function mongoose.model.__subclass (conn, schema, collection)

function mongoose.model._getSchema (path)

function mongoose.model.addListener (type, listener)

function mongoose.model.aggregate ()

function mongoose.model.bulkWrite (ops, options, callback)

function mongoose.model.compile (name, schema, collectionName, connection, base)

function mongoose.model.count (conditions, callback)

function mongoose.model.create (doc, callback)

function mongoose.model.deleteMany (conditions, callback)

function mongoose.model.deleteOne (conditions, callback)

function mongoose.model.discriminator (name, schema)

function mongoose.model.distinct (field, conditions, callback)

function mongoose.model.emit (type)

function mongoose.model.ensureIndexes (options, callback)

function mongoose.model.eventNames ()

function mongoose.model.find (conditions, projection, options, callback)

function mongoose.model.findById (id, projection, options, callback)

function mongoose.model.findByIdAndRemove (id, options, callback)

function mongoose.model.findByIdAndUpdate (id, update, options, callback)

function mongoose.model.findOne (conditions, projection, options, callback)

function mongoose.model.findOneAndRemove (conditions, options, callback)

function mongoose.model.findOneAndUpdate (conditions, update, options, callback)

function mongoose.model.geoNear (near, options, callback)

function mongoose.model.geoSearch (conditions, options, callback)

function mongoose.model.getMaxListeners ()

function mongoose.model.hydrate (obj)

function mongoose.model.init ()

function mongoose.model.insertMany (arr, options, callback)

function mongoose.model.listenerCount (type)

function mongoose.model.listeners (type)

function mongoose.model.mapReduce (o, callback)

function mongoose.model.on (type, listener)

function mongoose.model.once (type, listener)

function mongoose.model.populate (docs, paths, callback)

function mongoose.model.prependListener (type, listener)

function mongoose.model.prependOnceListener (type, listener)

function mongoose.model.remove (conditions, callback)

function mongoose.model.removeAllListeners (type)

function mongoose.model.removeListener (type, listener)

function mongoose.model.replaceOne (conditions, doc, options, callback)

function mongoose.model.setMaxListeners (n)

function mongoose.model.update (conditions, doc, options, callback)

function mongoose.model.updateMany (conditions, doc, options, callback)

function mongoose.model.updateOne (conditions, doc, options, callback)

function mongoose.model.where (path, val)

module mongoose.model.prototype

function mongoose.model.prototype.increment ()

function mongoose.model.prototype.model (name)

function mongoose.model.prototype.remove (options, fn)

function mongoose.model.prototype.save (options, fn)

module mongoose.notFound

function mongoose.notFound (query)

module mongoose.notFound.prototype

function mongoose.notFound.prototype.constructor (msg)

module mongoose.number

function mongoose.number (key, options)

module mongoose.number.prototype

function mongoose.number.prototype.cast (value, doc, init)

function mongoose.number.prototype.castForQuery ($conditional, val)

function mongoose.number.prototype.checkRequired (value, doc)

function mongoose.number.prototype.constructor (key, options)

function mongoose.number.prototype.max (value, message)

function mongoose.number.prototype.min (value, message)

module mongoose.objectExpected

function mongoose.objectExpected (path, val)

module mongoose.objectExpected.prototype

function mongoose.objectExpected.prototype.constructor (msg)

module mongoose.objectid

function mongoose.objectid (key, options)

module mongoose.objectid.prototype

function mongoose.objectid.prototype.auto (turnOn)

function mongoose.objectid.prototype.cast (value, doc, init)

function mongoose.objectid.prototype.castForQuery ($conditional, val)

function mongoose.objectid.prototype.checkRequired (value, doc)

function mongoose.objectid.prototype.constructor (key, options)

module mongoose.overwriteModel

function mongoose.overwriteModel (name)

module mongoose.overwriteModel.prototype

function mongoose.overwriteModel.prototype.constructor (msg)

module mongoose.promise

function mongoose.promise (fn)

function mongoose.promise.ES6 (resolver)

module mongoose.promise.prototype

function mongoose.promise.prototype.addBack (fn)

function mongoose.promise.prototype.addCallback (fn)

function mongoose.promise.prototype.addErrback (fn)

function mongoose.promise.prototype.catch (onReject)

function mongoose.promise.prototype.complete ()

function mongoose.promise.prototype.error (err)

function mongoose.promise.prototype.resolve (err)

function mongoose.promise.prototype.then ()

module mongoose.promise_provider

function mongoose.promise_provider._promise (fn)

function mongoose.promise_provider.get ()

function mongoose.promise_provider.reset ()

function mongoose.promise_provider.set (lib)

module mongoose.query

function mongoose.query (conditions, options, model, collection)

module mongoose.query.prototype

function mongoose.query.prototype._applyPaths ()

function mongoose.query.prototype._castFields (fields)

function mongoose.query.prototype._castUpdate (obj, overwrite)

function mongoose.query.prototype._count (callback)

function mongoose.query.prototype._execUpdate (callback)

function mongoose.query.prototype._find (callback)

function mongoose.query.prototype._findAndModify (type, callback)

function mongoose.query.prototype._findOne (callback)

function mongoose.query.prototype._findOneAndRemove (callback)

function mongoose.query.prototype._findOneAndUpdate (callback)

function mongoose.query.prototype._mergeUpdate (doc)

function mongoose.query.prototype._optionsForExec (model)

function mongoose.query.prototype._replaceOne (callback)

function mongoose.query.prototype._updateForExec ()

function mongoose.query.prototype._updateMany (callback)

function mongoose.query.prototype._updateOne (callback)

function mongoose.query.prototype.box (ll, ur)

function mongoose.query.prototype.cast (model, obj)

function mongoose.query.prototype.catch (reject)

function mongoose.query.prototype.center ()

function mongoose.query.prototype.centerSphere ()

function mongoose.query.prototype.collation (value)

function mongoose.query.prototype.constructor (conditions, options, model, collection)

function mongoose.query.prototype.count (conditions, callback)

function mongoose.query.prototype.cursor (opts)

function mongoose.query.prototype.deleteMany (cond, callback)

function mongoose.query.prototype.deleteOne (cond, callback)

function mongoose.query.prototype.distinct (field, conditions, callback)

function mongoose.query.prototype.exec (op, callback)

function mongoose.query.prototype.find (conditions, callback)

function mongoose.query.prototype.findOne (conditions, projection, options, callback)

function mongoose.query.prototype.findOneAndRemove (conditions, options, callback)

function mongoose.query.prototype.findOneAndUpdate (criteria, doc, options, callback)

function mongoose.query.prototype.getQuery ()

function mongoose.query.prototype.getUpdate ()

function mongoose.query.prototype.lean (v)

function mongoose.query.prototype.maxscan (v)

function mongoose.query.prototype.merge (source)

function mongoose.query.prototype.mongooseOptions (v)

function mongoose.query.prototype.near ()

function mongoose.query.prototype.nearSphere ()

function mongoose.query.prototype.populate ()

function mongoose.query.prototype.read (pref, tags)

function mongoose.query.prototype.remove (cond, callback)

function mongoose.query.prototype.replaceOne (conditions, doc, options, callback)

function mongoose.query.prototype.setOptions (options, overwrite)

function mongoose.query.prototype.sort (arg)

function mongoose.query.prototype.stream ()

function mongoose.query.prototype.tailable (val, opts)

function mongoose.query.prototype.then (resolve, reject)

function mongoose.query.prototype.toConstructor ()

function mongoose.query.prototype.update (conditions, doc, options, callback)

function mongoose.query.prototype.updateMany (conditions, doc, options, callback)

function mongoose.query.prototype.updateOne (conditions, doc, options, callback)

module mongoose.querycursor

function mongoose.querycursor (query, options)

function mongoose.querycursor.super_ (options)

module mongoose.querycursor.prototype

function mongoose.querycursor.prototype._markError (error)

function mongoose.querycursor.prototype._read ()

function mongoose.querycursor.prototype.close (callback)

function mongoose.querycursor.prototype.eachAsync (fn, callback)

function mongoose.querycursor.prototype.map (fn)

function mongoose.querycursor.prototype.next (callback)

module mongoose.queryhelpers

function mongoose.queryhelpers.applyPaths (fields, schema)

function mongoose.queryhelpers.createModel (model, doc, fields)

function mongoose.queryhelpers.preparePopulationOptions (query, options)

function mongoose.queryhelpers.preparePopulationOptionsMQ (query, options)

module mongoose.querystream

function mongoose.querystream (query, options)

module mongoose.querystream.prototype

function mongoose.querystream.prototype.__next ()

function mongoose.querystream.prototype._init ()

function mongoose.querystream.prototype._next ()

function mongoose.querystream.prototype._onNextObject (err, doc)

function mongoose.querystream.prototype.destroy (err)

function mongoose.querystream.prototype.pause ()

function mongoose.querystream.prototype.resume ()

module mongoose.schema

function mongoose.schema (obj, options)

function mongoose.schema.ObjectId (key, options)

function mongoose.schema.interpretAsType (path, obj, options)

module mongoose.schema.prototype

function mongoose.schema.prototype._getPathType (path)

function mongoose.schema.prototype._getSchema (path)

function mongoose.schema.prototype._getVirtual (name)

function mongoose.schema.prototype.add (obj, prefix)

function mongoose.schema.prototype.clone ()

function mongoose.schema.prototype.constructor (obj, options)

function mongoose.schema.prototype.defaultOptions (options)

function mongoose.schema.prototype.eachPath (fn)

function mongoose.schema.prototype.get (key)

function mongoose.schema.prototype.hasMixedParent (path)

function mongoose.schema.prototype.index (fields, options)

function mongoose.schema.prototype.indexedPaths ()

function mongoose.schema.prototype.indexes ()

function mongoose.schema.prototype.loadClass (model, virtualsOnly)

function mongoose.schema.prototype.method (name, fn)

function mongoose.schema.prototype.path (path, obj)

function mongoose.schema.prototype.pathType (path)

function mongoose.schema.prototype.plugin (fn, opts)

function mongoose.schema.prototype.post (method, fn)

function mongoose.schema.prototype.pre ()

function mongoose.schema.prototype.queue (name, args)

function mongoose.schema.prototype.remove (path)

function mongoose.schema.prototype.requiredPaths (invalidate)

function mongoose.schema.prototype.set (key, value, _tags)

function mongoose.schema.prototype.setupTimestamp (timestamps)

function mongoose.schema.prototype.static (name, fn)

function mongoose.schema.prototype.virtual (name, options)

function mongoose.schema.prototype.virtualpath (name)

module mongoose.schematype

function mongoose.schematype (path, options, instance)

function mongoose.schematype.CastError (type, value, path, reason)

function mongoose.schematype.ValidatorError (properties)

function mongoose.schematype._isRef (self, value, doc, init)

module mongoose.schematype.prototype

function mongoose.schematype.prototype.applyGetters (value, scope)

function mongoose.schematype.prototype.applySetters (value, scope, init, priorVal, options)

function mongoose.schematype.prototype.castForQuery ($conditional, val)

function mongoose.schematype.prototype.checkRequired (val)

function mongoose.schematype.prototype.default (val)

function mongoose.schematype.prototype.doValidate (value, fn, scope)

function mongoose.schematype.prototype.doValidateSync (value, scope)

function mongoose.schematype.prototype.get (fn)

function mongoose.schematype.prototype.getDefault (scope, init)

function mongoose.schematype.prototype.index (options)

function mongoose.schematype.prototype.required (required, message)

function mongoose.schematype.prototype.select (val)

function mongoose.schematype.prototype.set (fn)

function mongoose.schematype.prototype.sparse (bool)

function mongoose.schematype.prototype.text (bool)

function mongoose.schematype.prototype.unique (bool)

function mongoose.schematype.prototype.validate (obj, message, type)

module mongoose.statemachine

function mongoose.statemachine ()

function mongoose.statemachine.ctor ()

module mongoose.statemachine.prototype

function mongoose.statemachine.prototype._changeState (path, nextState)

function mongoose.statemachine.prototype._iter (iterMethod)

function mongoose.statemachine.prototype.clear (state)

function mongoose.statemachine.prototype.forEach ()

function mongoose.statemachine.prototype.map ()

function mongoose.statemachine.prototype.some ()

module mongoose.strict

function mongoose.strict (path, msg)

module mongoose.strict.prototype

function mongoose.strict.prototype.constructor (msg)

module mongoose.string

function mongoose.string (key, options)

module mongoose.string.prototype

function mongoose.string.prototype.cast (value, doc, init)

function mongoose.string.prototype.castForQuery ($conditional, val)

function mongoose.string.prototype.checkRequired (value, doc)

function mongoose.string.prototype.constructor (key, options)

function mongoose.string.prototype.enum ()

function mongoose.string.prototype.lowercase (shouldApply)

function mongoose.string.prototype.match (regExp, message)

function mongoose.string.prototype.maxlength (value, message)

function mongoose.string.prototype.minlength (value, message)

function mongoose.string.prototype.trim (shouldTrim)

function mongoose.string.prototype.uppercase (shouldApply)

module mongoose.subdocument

function mongoose.subdocument (value, fields)

module mongoose.subdocument.prototype

function mongoose.subdocument.prototype.invalidate (path, err, val)

function mongoose.subdocument.prototype.markModified (path)

function mongoose.subdocument.prototype.ownerDocument ()

function mongoose.subdocument.prototype.populate ()

function mongoose.subdocument.prototype.remove (options, callback)

function mongoose.subdocument.prototype.save (fn)

function mongoose.subdocument.prototype.toBSON ()

module mongoose.utils

function mongoose.utils.PopulateOptions (path, select, match, options, model, subPopulate)

function mongoose.utils.args (args, slice, sliceEnd)

function mongoose.utils.clone (obj, options)

function mongoose.utils.decorate (destination, source)

function mongoose.utils.deepEqual (a, b)

function mongoose.utils.each (arr, fn)

function mongoose.utils.expires (object)

function mongoose.utils.getFunctionName (fn)

function mongoose.utils.getValue (path, obj, map)

function mongoose.utils.isMongooseObject (v)

function mongoose.utils.isNullOrUndefined (val)

function mongoose.utils.isObject (arg)

function mongoose.utils.merge (to, from, options)

function mongoose.utils.mergeClone (to, fromObj)

function mongoose.utils.options (defaults, options)

function mongoose.utils.populate (path, select, model, match, options, subPopulate)

function mongoose.utils.random ()

function mongoose.utils.setValue (path, val, obj, map)

function mongoose.utils.tick (callback)

function mongoose.utils.toCollectionName (name, options)

function mongoose.utils.toObject (obj)

module mongoose.validation

function mongoose.validation (instance)

module mongoose.validation.prototype

function mongoose.validation.prototype.constructor (msg)

function mongoose.validation.prototype.toString ()

module mongoose.validator

function mongoose.validator (properties)

module mongoose.validator.prototype

function mongoose.validator.prototype.constructor (msg)

function mongoose.validator.prototype.formatMessage (msg, properties)

function mongoose.validator.prototype.toString ()

module mongoose.version

function mongoose.version (doc)

module mongoose.version.prototype

function mongoose.version.prototype.constructor (msg)

module mongoose.virtualtype

function mongoose.virtualtype (options, name)

module mongoose.virtualtype.prototype

function mongoose.virtualtype.prototype.applyGetters (value, scope)

function mongoose.virtualtype.prototype.applySetters (value, scope)

function mongoose.virtualtype.prototype.get (fn)

function mongoose.virtualtype.prototype.set (fn)

[ this document was created with utility2 ]