Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Automattic/mongoose
/ functions
Functions
1,431 in github.com/Automattic/mongoose
⨍
Functions
1,431
◇
Types & classes
784
Function
basicLoadClassPattern
()
test/types/loadclass.test.ts:5
Function
bulkWrite
()
test/types/models.test.ts:355
Function
bulkWriteAddToSet
()
test/types/models.test.ts:378
Function
byName
(this: UserModelQuery, name: string)
test/types/models.test.ts:569
Function
byName
(name: string)
test/types/queries.test.ts:485
Function
byName
(this: UserModelQuery, name: string)
test/types/connection.test.ts:145
Method
byName
(this: UserModelQuery, name: string)
test/types/models.test.ts:542
Method
byName
(name: string)
test/types/queries.test.ts:441
Method
byName
(this: UserModelQuery, name: string)
test/types/connection.test.ts:118
Function
byUserName
(userName)
test/query.test.js:3567
Function
byUserName
(userName)
test/types/schema.create.test.ts:558
Function
byUserName
(userName)
test/types/schema.test.ts:560
Function
capitalizeFirstLetter
(v)
test/docs/lean.test.js:101
Method
cast
* Casts to Map * * @param {object} value * @param {object} model this value is optional * @api private
lib/schema/map.js:55
Method
cast
(val)
test/driver.test.js:45
Method
cast
(value)
test/document.test.js:15263
Function
cast$all
(val, context)
lib/schema/array.js:579
Function
cast$elemMatch
(val, context)
lib/schema/documentArray.js:619
Function
cast$elemMatch
(val, context)
lib/schema/array.js:600
Function
cast$geoIntersects
(val)
lib/schema/operators/geospatial.js:90
Function
cast$near
(val)
lib/schema/operators/geospatial.js:18
Function
cast$within
(val)
lib/schema/operators/geospatial.js:57
Function
castToNumber
(val)
lib/schema/operators/helpers.js:20
Function
checkDoc
(doc)
test/aggregate.test.js:1194
Function
checkDoc
(doc)
test/query.cursor.test.js:328
Function
checkIfLength2
(v)
test/schematype.test.js:237
Function
checkIfString
(v)
test/schematype.test.js:234
Function
clean
()
lib/helpers/parallelLimit.js:28
Function
clearAtomics
* Clears all pending atomic operations. Called by Mongoose after save(). * * @return {void} * @method clearAtomics * @memberOf MongooseArr
lib/types/array/methods/index.js:104
Method
clone
* Creates a copy of this map schema type. * * @api private
lib/schema/map.js:99
Function
closePanel
()
docs/js/ask-ai.js:130
Method
collection
()
test/driver.test.js:82
Function
compare
(a, b)
test/model.populate.test.js:4896
Function
compareBuffers
(a, b)
test/model.findOneAndUpdate.test.js:801
Function
connectionStates
()
test/types/base.test.ts:36
Method
constructor
(subdocSnapshot, activePaths, version)
lib/modifiedPathsSnapshot.js:4
Method
constructor
(v, path, doc, schemaType)
lib/types/map.js:21
Method
constructor
(changeStreamPromise, pipeline, options)
lib/cursor/changeStream.js:21
Method
constructor
(obj)
lib/options/virtualOptions.js:6
Method
constructor
(obj)
lib/options/saveOptions.js:6
Method
constructor
(obj)
lib/options/populateOptions.js:6
Method
constructor
(obj)
lib/options/schemaTypeOptions.js:18
Method
constructor
* Map SchemaType constructor. * * @param {string} path * @param {object} options * @param {object} schemaOptions * @param {Schema} pare
lib/schema/map.js:26
Method
constructor
* Create a Union schema type. * * @param {string} key the path in the schema for this schema type * @param {object} options SchemaType-specif
lib/schema/union.js:25
Method
constructor
()
lib/error/browserMissingSchema.js:15
Method
constructor
(path, msg, immutable)
lib/error/strict.js:22
Method
constructor
(properties, doc)
lib/error/validator.js:19
Method
constructor
(message, errorsMap)
lib/error/createCollectionsError.js:15
Method
constructor
(instance)
lib/error/validation.js:22
Method
constructor
(type, value, path, reason, schemaType)
lib/error/cast.js:20
Method
constructor
(message, errorsMap)
lib/error/syncIndexes.js:19
Method
constructor
(doc, currentVersion, modifiedPaths)
lib/error/version.js:20
Method
constructor
(doc)
lib/error/parallelSave.js:19
Method
constructor
(name)
lib/error/overwriteModel.js:18
Method
constructor
(validationErrors, results, rawResult, operation)
lib/error/bulkWriteError.js:19
Method
constructor
()
lib/error/setOptionError.js:20
Method
constructor
* Error for the "errors" array in "SetOptionError" with consistent message * @param {string} key
lib/error/setOptionError.js:92
Method
constructor
(filter, model, numAffected, result)
lib/error/notFound.js:17
Method
constructor
(doc)
lib/error/parallelValidate.js:19
Method
constructor
* @param {string} connectionString
lib/error/eachAsyncMultiError.js:22
Method
constructor
(value, paramName, fnName)
lib/error/objectParameter.js:20
Method
constructor
(paths)
lib/error/divergentArray.js:18
Method
constructor
(name, option)
lib/error/invalidSchemaOption.js:18
Method
constructor
(path, val)
lib/error/objectExpected.js:19
Method
constructor
(modelName, documents, bulkWriteResult)
lib/error/bulkSaveIncompleteError.js:18
Method
constructor
(path, msg)
lib/error/strictPopulate.js:20
Method
constructor
(name)
lib/error/missingSchema.js:18
Method
constructor
(base)
test/driver.test.js:20
Method
constructor
(key, options)
test/driver.test.js:41
Method
constructor
(base)
test/driver.test.js:75
Method
constructor
(message)
test/utils.test.js:356
Method
constructor
(prop)
test/document.test.js:7804
Method
constructor
(key, options)
test/document.test.js:15259
Method
constructor
(value)
test/document.test.js:15271
Method
constructor
(binary, options)
test/connection_server.js:9
Method
constructor
(key, options)
test/encryptedSchema.test.js:244
Method
constructor
( private readonly model: mongoose.Model<K> )
test/types/create.test.ts:256
Method
constructor
(key: string, options: Record<string, any>)
test/types/schema.create.test.ts:379
Method
constructor
(schemaModel: mongoose.Model<T>)
test/types/models.test.ts:844
Method
constructor
()
test/types/queries.test.ts:528
Method
constructor
()
test/types/queries.test.ts:658
Method
constructor
(key: string, options: Record<string, any>)
test/types/schema.test.ts:381
Method
constructor
(MM: Model<T>)
test/types/generics.test.ts:6
Method
constructor
()
test/helpers/clone.test.js:210
Method
constructor
(myAttr)
test/helpers/clone.test.js:226
Method
constructor
(myAttr)
test/helpers/clone.test.js:245
Method
constructor
(key, options)
test/docs/schematypes.test.js:33
Function
create
* Creates a subdocument casted to this schema. * * This is the same subdocument constructor used for casting. * * @param {object} obj the
lib/types/documentArray/methods/index.js:390
Function
createFoo
(foo: FooInput)
test/types/document.test.ts:120
Method
createOne
(resource: K)
test/types/create.test.ts:260
Function
createWithDocArray
()
test/types/create.test.ts:147
Function
createWithFullName
(name: string)
test/types/schema.create.test.ts:1418
Function
createWithFullName
(name: string)
test/types/schema.test.ts:1477
Method
createWithFullName
(name: string)
test/types/schema.create.test.ts:1407
Function
createWithMapOfSubdocs
()
test/types/create.test.ts:155
Function
createWithPopulatedDoc
()
test/types/create.test.ts:211
Function
createWithRawDocTypeNo_id
()
test/types/create.test.ts:190
Function
createWithSubdoc
()
test/types/create.test.ts:138
Function
createWithSubdocs
()
test/types/create.test.ts:174
Function
ctor
()
lib/stateMachine.js:36
← previous
next →
701–800 of 1,431, ranked by callers