MCPcopy Create free account

hub / github.com/Automattic/mongoose / functions

Functions1,431 in github.com/Automattic/mongoose

FunctionbasicLoadClassPattern
()
test/types/loadclass.test.ts:5
FunctionbulkWrite
()
test/types/models.test.ts:355
FunctionbulkWriteAddToSet
()
test/types/models.test.ts:378
FunctionbyName
(this: UserModelQuery, name: string)
test/types/models.test.ts:569
FunctionbyName
(name: string)
test/types/queries.test.ts:485
FunctionbyName
(this: UserModelQuery, name: string)
test/types/connection.test.ts:145
MethodbyName
(this: UserModelQuery, name: string)
test/types/models.test.ts:542
MethodbyName
(name: string)
test/types/queries.test.ts:441
MethodbyName
(this: UserModelQuery, name: string)
test/types/connection.test.ts:118
FunctionbyUserName
(userName)
test/query.test.js:3567
FunctionbyUserName
(userName)
test/types/schema.create.test.ts:558
FunctionbyUserName
(userName)
test/types/schema.test.ts:560
FunctioncapitalizeFirstLetter
(v)
test/docs/lean.test.js:101
Methodcast
* Casts to Map * * @param {object} value * @param {object} model this value is optional * @api private
lib/schema/map.js:55
Methodcast
(val)
test/driver.test.js:45
Methodcast
(value)
test/document.test.js:15263
Functioncast$all
(val, context)
lib/schema/array.js:579
Functioncast$elemMatch
(val, context)
lib/schema/documentArray.js:619
Functioncast$elemMatch
(val, context)
lib/schema/array.js:600
Functioncast$geoIntersects
(val)
lib/schema/operators/geospatial.js:90
Functioncast$near
(val)
lib/schema/operators/geospatial.js:18
Functioncast$within
(val)
lib/schema/operators/geospatial.js:57
FunctioncastToNumber
(val)
lib/schema/operators/helpers.js:20
FunctioncheckDoc
(doc)
test/aggregate.test.js:1194
FunctioncheckDoc
(doc)
test/query.cursor.test.js:328
FunctioncheckIfLength2
(v)
test/schematype.test.js:237
FunctioncheckIfString
(v)
test/schematype.test.js:234
Functionclean
()
lib/helpers/parallelLimit.js:28
FunctionclearAtomics
* Clears all pending atomic operations. Called by Mongoose after save(). * * @return {void} * @method clearAtomics * @memberOf MongooseArr
lib/types/array/methods/index.js:104
Methodclone
* Creates a copy of this map schema type. * * @api private
lib/schema/map.js:99
FunctionclosePanel
()
docs/js/ask-ai.js:130
Methodcollection
()
test/driver.test.js:82
Functioncompare
(a, b)
test/model.populate.test.js:4896
FunctioncompareBuffers
(a, b)
test/model.findOneAndUpdate.test.js:801
FunctionconnectionStates
()
test/types/base.test.ts:36
Methodconstructor
(subdocSnapshot, activePaths, version)
lib/modifiedPathsSnapshot.js:4
Methodconstructor
(v, path, doc, schemaType)
lib/types/map.js:21
Methodconstructor
(changeStreamPromise, pipeline, options)
lib/cursor/changeStream.js:21
Methodconstructor
(obj)
lib/options/virtualOptions.js:6
Methodconstructor
(obj)
lib/options/saveOptions.js:6
Methodconstructor
(obj)
lib/options/populateOptions.js:6
Methodconstructor
(obj)
lib/options/schemaTypeOptions.js:18
Methodconstructor
* Map SchemaType constructor. * * @param {string} path * @param {object} options * @param {object} schemaOptions * @param {Schema} pare
lib/schema/map.js:26
Methodconstructor
* 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
Methodconstructor
()
lib/error/browserMissingSchema.js:15
Methodconstructor
(path, msg, immutable)
lib/error/strict.js:22
Methodconstructor
(properties, doc)
lib/error/validator.js:19
Methodconstructor
(message, errorsMap)
lib/error/createCollectionsError.js:15
Methodconstructor
(instance)
lib/error/validation.js:22
Methodconstructor
(type, value, path, reason, schemaType)
lib/error/cast.js:20
Methodconstructor
(message, errorsMap)
lib/error/syncIndexes.js:19
Methodconstructor
(doc, currentVersion, modifiedPaths)
lib/error/version.js:20
Methodconstructor
(doc)
lib/error/parallelSave.js:19
Methodconstructor
(name)
lib/error/overwriteModel.js:18
Methodconstructor
(validationErrors, results, rawResult, operation)
lib/error/bulkWriteError.js:19
Methodconstructor
()
lib/error/setOptionError.js:20
Methodconstructor
* Error for the "errors" array in "SetOptionError" with consistent message * @param {string} key
lib/error/setOptionError.js:92
Methodconstructor
(filter, model, numAffected, result)
lib/error/notFound.js:17
Methodconstructor
(doc)
lib/error/parallelValidate.js:19
Methodconstructor
* @param {string} connectionString
lib/error/eachAsyncMultiError.js:22
Methodconstructor
(value, paramName, fnName)
lib/error/objectParameter.js:20
Methodconstructor
(paths)
lib/error/divergentArray.js:18
Methodconstructor
(name, option)
lib/error/invalidSchemaOption.js:18
Methodconstructor
(path, val)
lib/error/objectExpected.js:19
Methodconstructor
(modelName, documents, bulkWriteResult)
lib/error/bulkSaveIncompleteError.js:18
Methodconstructor
(path, msg)
lib/error/strictPopulate.js:20
Methodconstructor
(name)
lib/error/missingSchema.js:18
Methodconstructor
(base)
test/driver.test.js:20
Methodconstructor
(key, options)
test/driver.test.js:41
Methodconstructor
(base)
test/driver.test.js:75
Methodconstructor
(message)
test/utils.test.js:356
Methodconstructor
(prop)
test/document.test.js:7804
Methodconstructor
(key, options)
test/document.test.js:15259
Methodconstructor
(value)
test/document.test.js:15271
Methodconstructor
(binary, options)
test/connection_server.js:9
Methodconstructor
(key, options)
test/encryptedSchema.test.js:244
Methodconstructor
( private readonly model: mongoose.Model<K> )
test/types/create.test.ts:256
Methodconstructor
(key: string, options: Record<string, any>)
test/types/schema.create.test.ts:379
Methodconstructor
(schemaModel: mongoose.Model<T>)
test/types/models.test.ts:844
Methodconstructor
()
test/types/queries.test.ts:528
Methodconstructor
()
test/types/queries.test.ts:658
Methodconstructor
(key: string, options: Record<string, any>)
test/types/schema.test.ts:381
Methodconstructor
(MM: Model<T>)
test/types/generics.test.ts:6
Methodconstructor
()
test/helpers/clone.test.js:210
Methodconstructor
(myAttr)
test/helpers/clone.test.js:226
Methodconstructor
(myAttr)
test/helpers/clone.test.js:245
Methodconstructor
(key, options)
test/docs/schematypes.test.js:33
Functioncreate
* 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
FunctioncreateFoo
(foo: FooInput)
test/types/document.test.ts:120
MethodcreateOne
(resource: K)
test/types/create.test.ts:260
FunctioncreateWithDocArray
()
test/types/create.test.ts:147
FunctioncreateWithFullName
(name: string)
test/types/schema.create.test.ts:1418
FunctioncreateWithFullName
(name: string)
test/types/schema.test.ts:1477
MethodcreateWithFullName
(name: string)
test/types/schema.create.test.ts:1407
FunctioncreateWithMapOfSubdocs
()
test/types/create.test.ts:155
FunctioncreateWithPopulatedDoc
()
test/types/create.test.ts:211
FunctioncreateWithRawDocTypeNo_id
()
test/types/create.test.ts:190
FunctioncreateWithSubdoc
()
test/types/create.test.ts:138
FunctioncreateWithSubdocs
()
test/types/create.test.ts:174
Functionctor
()
lib/stateMachine.js:36
← previousnext →701–800 of 1,431, ranked by callers