Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Automattic/mongoose
/ functions
Functions
1,414 in github.com/Automattic/mongoose
⨍
Functions
1,414
◇
Types & classes
14
Function
K
(v)
bin/mongoose.js:22582
Function
Kareem
()
bin/mongoose.js:21177
Function
Long
* Defines a Long class for representing a 64-bit two's-complement * integer value, which faithfully simulates the behavior of a Java "Long". This *
bin/mongoose.debug.js:14626
Function
Long
* Defines a Long class for representing a 64-bit two's-complement * integer value, which faithfully simulates the behavior of a Java "Long". This *
bin/mongoose.js:15087
Function
Map
(array)
bin/mongoose.js:15911
Function
MappingPromiseArray
(promises, fn, limit, _filter)
bin/mongoose.js:28280
Function
MaxKey
* A class representation of the BSON MaxKey type. * * @class Represents the BSON MaxKey type. * @return {MaxKey}
bin/mongoose.debug.js:15446
Function
MaxKey
* A class representation of the BSON MaxKey type. * * @class * @return {MaxKey} A MaxKey instance
bin/mongoose.js:16037
Function
MinKey
* A class representation of the BSON MinKey type. * * @class Represents the BSON MinKey type. * @return {MinKey}
bin/mongoose.debug.js:15460
Function
MinKey
* A class representation of the BSON MinKey type. * * @class * @return {MinKey} A MinKey instance
bin/mongoose.js:16052
Function
MinionSchema
()
test/model.discriminator.test.js:214
Function
MissingSchemaError
()
lib/error/browserMissingSchema.js:13
Function
MissingSchemaError
(name)
lib/error/missingSchema.js:14
Function
MissingSchemaError
(name)
bin/mongoose.debug.js:2705
Function
MissingSchemaError
(name)
bin/mongoose.js:3389
Function
Mixed
* Mixed SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api public
lib/schema/mixed.js:17
Function
Mixed
* Mixed SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api private
bin/mongoose.debug.js:5308
Function
Mixed
* Mixed SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:7211
Function
Model
* Model constructor * * Provides the interface to MongoDB collections as well as creates document instances. * * @param {Object} doc values with w
lib/model.js:47
Function
Mongoose
* Mongoose constructor. * * The exports object of the `mongoose` module is an instance of this class. * Most apps will only use this one instance.
lib/index.js:36
Function
MongooseArray
* Mongoose Array constructor. * * ####NOTE: * * _Values always have to be passed to the constructor to initialize, otherwise `MongooseArray#push`
lib/types/array.js:28
Function
MongooseArray
* Mongoose Array constructor. * * ####NOTE: * * _Values always have to be passed to the constructor to initialize, otherwise `MongooseArray#push`
bin/mongoose.debug.js:7223
Function
MongooseArray
* Mongoose Array constructor. * * ####NOTE: * * _Values always have to be passed to the constructor to initialize, otherwise `MongooseArray#push`
bin/mongoose.js:9695
Function
MongooseBuffer
* Mongoose Buffer constructor. * * Values always have to be passed to the constructor to initialize. * * @param {Buffer} value * @param {String}
lib/types/buffer.js:21
Function
MongooseBuffer
* Mongoose Buffer constructor. * * Values always have to be passed to the constructor to initialize. * * @param {Buffer} value * @param {String}
bin/mongoose.debug.js:7922
Function
MongooseBuffer
* Mongoose Buffer constructor. * * Values always have to be passed to the constructor to initialize. * * @param {Buffer} value * @param {String}
bin/mongoose.js:10471
Function
MongooseDocumentArray
* DocumentArray constructor * * @param {Array} values * @param {String} path the path to this array * @param {Document} doc parent document * @ap
lib/types/documentarray.js:23
Function
MongooseDocumentArray
* DocumentArray constructor * * @param {Array} values * @param {String} path the path to this array * @param {Document} doc parent document * @ap
bin/mongoose.debug.js:8190
Function
MongooseDocumentArray
* DocumentArray constructor * * @param {Array} values * @param {String} path the path to this array * @param {Document} doc parent document * @ap
bin/mongoose.js:10750
Function
MongooseError
* MongooseError constructor * * @param {String} msg Error message * @inherits Error https://developer.mozilla.org/en/JavaScript/Reference/Global_Ob
lib/error.js:9
Function
MongooseError
* MongooseError constructor * * @param {String} msg Error message * @inherits Error https://developer.mozilla.org/en/JavaScript/Reference/Global_Ob
bin/mongoose.debug.js:2524
Function
MongooseError
* MongooseError constructor * * @param {String} msg Error message * @inherits Error https://developer.mozilla.org/en/JavaScript/Reference/Global_Ob
bin/mongoose.js:3188
Function
MongooseThenable
* Wraps the given Mongoose instance into a thenable (pseudo-promise). This * is so `connect()` and `disconnect()` can return a thenable while maintai
lib/index.js:800
Function
NativeCollection
* A [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) collection implementation. * * All methods methods from the [node-mongodb-
lib/drivers/node-mongodb-native/collection.js:18
Function
NativeConnection
* A [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) connection implementation. * * @inherits Connection * @api private
lib/drivers/node-mongodb-native/connection.js:21
Function
NodeCollection
(col)
bin/mongoose.js:23104
Function
ObjectDefineProperty
(o, key, desc)
bin/mongoose.js:27862
Function
ObjectExpectedError
* Strict mode error constructor * * @param {String} type * @param {String} value * @inherits MongooseError * @api private
lib/error/objectExpected.js:16
Function
ObjectExpectedError
* Strict mode error constructor * * @param {String} type * @param {String} value * @inherits MongooseError * @api private
bin/mongoose.js:3426
Function
ObjectFreeze
(obj)
bin/mongoose.js:27867
Function
ObjectGetDescriptor
(o, key)
bin/mongoose.js:27858
Function
ObjectGetPrototypeOf
(obj)
bin/mongoose.js:27871
Function
ObjectID
(id)
bin/mongoose.debug.js:15493
Function
ObjectID
(id)
bin/mongoose.js:16083
Function
ObjectId
* ObjectId SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
lib/schema/objectid.js:22
Function
ObjectId
* ObjectId SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api private
bin/mongoose.debug.js:5680
Function
ObjectKeys
(o)
bin/mongoose.js:27848
Function
OperationalError
(message)
bin/mongoose.js:27781
Function
OverwriteModelError
(name)
lib/error/overwriteModel.js:14
Function
OverwriteModelError
(name)
bin/mongoose.debug.js:2740
Function
OverwriteModelError
(name)
bin/mongoose.js:3461
Function
Point
(key, options)
test/model.query.casting.test.js:987
Function
PopulateOptions
(path, select, match, options, model, subPopulate)
lib/utils.js:586
Function
PopulateOptions
(path, select, match, options, model)
bin/mongoose.debug.js:9194
Function
PopulateOptions
(path, select, match, options, model, subPopulate)
bin/mongoose.js:12069
Function
Promise
* Promise constructor. * * Promises are returned from executed queries. Example: * * var query = Candy.find({ bar: true }); * var promise
lib/promise.js:30
Function
Promise
* Promise constructor. * * Promises are returned from executed queries. Example: * * var query = Candy.find({ bar: true }); * var promise
bin/mongoose.debug.js:2975
Function
Promise
* Promise constructor. * * Promises are returned from executed queries. Example: * * var query = Candy.find({ bar: true }); * var promise
bin/mongoose.js:3763
Function
PromiseArray
(values)
bin/mongoose.js:29355
Function
PromiseInspection
(promise)
bin/mongoose.js:30500
Function
PromiseSpawn
(generatorFunction, receiver, yieldHandler, stack)
bin/mongoose.js:28048
Function
PropertiesPromiseArray
(obj)
bin/mongoose.js:29927
Function
Query
* Query constructor used for building queries. * * ####Example: * * var query = new Query(); * query.setOptions({ lean : true }); *
lib/query.js:36
Function
Query
* Query constructor used for building queries. * * ####Example: * * var query = new Query({ name: 'mquery' }); * query.setOptions({ colle
bin/mongoose.js:23257
Function
QueryCursor
* A QueryCursor is a concurrency primitive for processing query results * one document at a time. A QueryCursor fulfills the [Node.js streams3 API](h
lib/cursor/QueryCursor.js:33
Function
QueryStream
* Provides a Node.js 0.8 style [ReadStream](http://nodejs.org/docs/v0.8.21/api/stream.html#stream_readable_stream) interface for Queries. * * va
lib/querystream.js:55
Function
Queue
(capacity)
bin/mongoose.js:30009
Function
ReadPreference
(mode, tags)
bin/mongoose.debug.js:12008
Function
ReductionPromiseArray
(promises, fn, accum, _each)
bin/mongoose.js:30153
Function
Schema
* Schema constructor. * * ####Example: * * var child = new Schema({ name: String }); * var schema = new Schema({ name: String, age: Numbe
bin/mongoose.debug.js:3261
Function
SchemaArray
* Array SchemaType constructor * * @param {String} key * @param {SchemaType} cast * @param {Object} options * @inherits SchemaType * @api public
lib/schema/array.js:37
Function
SchemaArray
* Array SchemaType constructor * * @param {String} key * @param {SchemaType} cast * @param {Object} options * @inherits SchemaType * @api privat
bin/mongoose.debug.js:4203
Function
SchemaArray
* Array SchemaType constructor * * @param {String} key * @param {SchemaType} cast * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:5804
Function
SchemaBoolean
* Boolean SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api public
lib/schema/boolean.js:18
Function
SchemaBoolean
* Boolean SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api private
bin/mongoose.debug.js:4568
Function
SchemaBoolean
* Boolean SchemaType constructor. * * @param {String} path * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:6099
Function
SchemaBuffer
* Buffer SchemaType constructor * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
lib/schema/buffer.js:24
Function
SchemaBuffer
* Buffer SchemaType constructor * * @param {String} key * @param {SchemaType} cast * @inherits SchemaType * @api private
bin/mongoose.debug.js:4677
Function
SchemaBuffer
* Buffer SchemaType constructor * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:6211
Function
SchemaDate
* Date SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
lib/schema/date.js:21
Function
SchemaDate
* Date SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api private
bin/mongoose.debug.js:4856
Function
SchemaDate
* Date SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:6399
Function
SchemaNumber
* Number SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
lib/schema/number.js:21
Function
SchemaNumber
* Number SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api private
bin/mongoose.debug.js:5404
Function
SchemaNumber
* Number SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:7298
Function
SchemaString
* String SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
lib/schema/string.js:20
Function
SchemaString
* String SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api private
bin/mongoose.debug.js:5878
Function
SchemaString
* String SchemaType constructor. * * @param {String} key * @param {Object} options * @inherits SchemaType * @api public
bin/mongoose.js:7980
Function
SchemaType
* SchemaType constructor * * @param {String} path * @param {Object} [options] * @param {String} [instance] * @api public
lib/schematype.js:21
Function
SchemaType
* SchemaType constructor * * @param {String} path * @param {Object} [options] * @param {String} [instance] * @api public
bin/mongoose.debug.js:6246
Function
SchemaType
* SchemaType constructor * * @param {String} path * @param {Object} [options] * @param {String} [instance] * @api public
bin/mongoose.js:8493
Function
SettledPromiseArray
(values)
bin/mongoose.js:30335
Function
SomePromiseArray
(values)
bin/mongoose.js:30380
Function
StrictModeError
* Strict mode error constructor * * @param {String} type * @param {String} value * @inherits MongooseError * @api private
lib/error/strict.js:16
Function
StrictModeError
* Strict mode error constructor * * @param {String} type * @param {String} value * @inherits MongooseError * @api private
bin/mongoose.js:3496
Function
Stub
()
test/document.unit.test.js:18
Function
SubError
(message)
bin/mongoose.js:27718
Function
Subdocument
* Subdocument constructor. * * @inherits Document * @api private
lib/types/subdocument.js:13
Function
Subdocument
()
test/types.documentarray.test.js:21
Function
Subdocument
()
test/colors.js:27
← previous
next →
1,001–1,100 of 1,414, ranked by callers