MCPcopy Create free account

hub / github.com/Automattic/mongoose / functions

Functions1,434 in github.com/Automattic/mongoose

Functiongh16240
()
test/types/queries.test.ts:275
Functiongh16402
()
test/types/models.test.ts:84
Functiongh16526
()
test/types/models.test.ts:1178
Functiongh3230
()
test/types/queries.test.ts:783
Functiongh4727
()
test/types/models.test.ts:980
Functiongh8389
()
test/types/schema.create.test.ts:1717
Functiongh8389
()
test/types/schema.test.ts:1764
Functiongh8768
()
test/types/model.skip.middleware.test.ts:14
Functiongh9857
()
test/types/schema.create.test.ts:152
Functiongh9857
()
test/types/schema.test.ts:155
Functiongreet
(greeting: string)
test/types/schema.test.ts:2124
Methodgreeting
()
test/schema.test.js:2835
Functionhandle$in
* Just like handleArray, except also allows `[]` because surprisingly * `$in: [1, []]` works fine * @api private
lib/schemaType.js:1740
FunctionhandleArray
(val, context)
lib/schemaType.js:1724
FunctionhandleArray
(val)
lib/schema/uuid.js:223
FunctionhandleArray
(val)
lib/schema/number.js:424
FunctionhandleArray
(val, context)
lib/schema/string.js:626
FunctionhandleBitwiseOperator
(val)
lib/schema/operators/bitwise.js:13
FunctionhandleNextResultCallBack
(err)
lib/helpers/cursor/eachAsync.js:139
FunctionhandleSingle
(val, context)
lib/schemaType.js:1716
FunctionhandleSingle
(val, context)
lib/schema/bigint.js:208
FunctionhandleSingle
(val, context)
lib/schema/int32.js:232
FunctionhandleSingle
(val)
lib/schema/decimal128.js:214
FunctionhandleSingle
(val)
lib/schema/uuid.js:215
FunctionhandleSingle
(val)
lib/schema/objectId.js:260
FunctionhandleSingle
(val)
lib/schema/number.js:420
FunctionhandleSingle
(val, context)
lib/schema/buffer.js:259
FunctionhandleSingle
* Date Query casting. * * @param {any} val * @api private
lib/schema/date.js:391
FunctionhandleSingle
(val)
lib/schema/double.js:197
FunctionhandleSingle
(val, context)
lib/schema/string.js:618
FunctionhandleSingleNoSetters
(val)
lib/schema/string.js:640
FunctionhandleValidationError
* gh-issue #11367 * * @see https://github.com/Automattic/mongoose/issues/11367
test/types/Errors.test.ts:8
FunctionhasAtomics
* Returns the number of pending atomic operations to send to the db for this array. * * @api private * @return {number} * @method hasAtomi
lib/types/array/methods/index.js:508
Methodhello
()
test/schema.test.js:2783
Methodhello
()
test/schema.test.js:2789
FunctionhelloPlugin
(schema)
test/index.test.js:499
FunctionhydrateWithStrictOption
()
test/types/models.test.ts:1335
Functionid
* Searches array items for the first document with a matching _id. * * #### Example: * * const embeddedDoc = m.array.id(some_id); *
lib/types/documentArray/methods/index.js:129
Functionincludes
* Return whether or not the `obj` is included in the array. * * @param {object} obj the item to check * @param {number} fromIndex * @retur
lib/types/array/methods/index.js:527
Functionindex
()
test/types/schemaTypeOptions.test.ts:36
FunctionindexOf
* Return the index of `obj` or `-1` if not found. * * @param {object} obj the item to look for * @param {number} fromIndex * @return {numb
lib/types/array/methods/index.js:543
FunctioninferPojoType
()
test/types/inferrawdoctype.test.ts:4
Functioninheritance
()
test/types/models.test.ts:334
FunctioninsertManyTest
()
test/types/models.test.ts:167
MethodinsertOne
(doc, options)
test/driver.test.js:92
Functioninspect
* Helper for console.log * * @method inspect * @api public * @memberOf MongooseDocumentArray
lib/types/documentArray/methods/index.js:375
FunctioninstanceFn
()
test/document.test.js:16078
FunctioninstanceFn
()
test/types/schema.create.test.ts:552
FunctioninstanceFn
()
test/types/schema.test.ts:555
FunctionisAdult
()
test/types/schema.create.test.ts:1335
FunctionisAdult
()
test/types/schema.test.ts:1395
MethodisAdult
()
test/types/schema.create.test.ts:1319
FunctionisBuiltInMiddleware
lib/helpers/buildMiddlewareFilter.js:8
FunctionisRequired
()
test/schema.validation.test.js:274
Functioniter
(mem)
lib/document.js:5562
Functionlast
(v)
test/schema.test.js:562
FunctionleanFalse
()
test/types/lean.test.ts:369
Functionlowercase
(v)
test/schema.test.js:505
Functionm1
()
test/types/queries.test.ts:884
Methodm1
()
test/types/queries.test.ts:879
Methodm2
()
test/types/queries.test.ts:880
Functionmain
()
test/types/lean.test.ts:244
Functionmap
(o)
lib/drivers/node-mongodb-native/collection.js:327
Functionmaps
()
test/types/schema.create.test.ts:1183
Functionmaps
()
test/types/schema.test.ts:1236
FunctionmatchValidator
(v)
lib/schema/string.js:537
Functionmiddleware
()
test/model.discriminator.test.js:436
FunctionmodelRemoveOptions
()
test/types/models.test.ts:609
FunctionmodelValidateReturnsCastedObject
()
test/types/models.test.ts:96
FunctionmongooseQueryOptions
()
test/types/queries.test.ts:622
MethodmyMethod
()
test/types/loadclass.test.ts:7
FunctionmyName
()
test/types/schema.create.test.ts:934
FunctionmyName
()
test/types/schema.test.ts:923
FunctionmyPlugin
(schema)
test/model.discriminator.test.js:2123
MethodmyStatic
()
test/types/loadclass.test.ts:8
FunctionmyValidator
()
test/schema.validation.test.js:967
MethodmyVirtual
()
test/types/loadclass.test.ts:9
FunctionnonAtomicPush
* Pushes items to the array non-atomically. * * #### Note: * * _marks the entire array as modified, which if saved, will store it as a `$s
lib/types/array/methods/index.js:583
Functionnotify
(event)
lib/types/documentArray/methods/index.js:415
Functionobfuscate
(email)
test/docs/getters-setters.test.js:34
FunctionopenExistingConversation
()
docs/js/ask-ai.js:136
MethodopenUri
()
test/driver.test.js:86
Functionoptionality
()
test/types/inferrawdoctype.test.ts:56
FunctionoverwriteBulkWriteContents
()
test/types/models.test.ts:432
Methodpfunc
()
test/types/queries.test.ts:680
Functionplugin
()
test/model.discriminator.test.js:1395
FunctionpluginFunction
(schema: Schema<any>, options: SomePluginOptions)
test/types/schema.create.test.ts:814
FunctionpluginFunction
(schema: Schema<any>, options: SomePluginOptions)
test/types/schema.test.ts:803
FunctionpluginFunction2
(schema: Schema<any>)
test/types/schema.create.test.ts:834
FunctionpluginFunction2
(schema: Schema<any>)
test/types/schema.test.ts:823
FunctionpluginGeneric
(schema: Schema)
test/types/plugin.test.ts:62
FunctionpluginMethods
(schema: Schema<Test, any, TestInstanceMethods>)
test/types/plugin.test.ts:18
FunctionpluginOptions
()
test/types/schema.create.test.ts:808
FunctionpluginOptions
()
test/types/schema.test.ts:797
FunctionpluginQueryHelpers
(schema: Schema<Test, any, any, TestQueryHelpers>)
test/types/plugin.test.ts:12
FunctionpluginStatics
(schema: Schema<Test, TestModel, any, TestQueryHelpers, any, TestStaticMethods>)
test/types/plugin.test.ts:24
FunctionpluginVirtuals
(schema: Schema<Test, any, any, any, TestVirtuals>)
test/types/plugin.test.ts:3
Functionpluralize
(name)
test/utils.test.js:396
Functionpop
* Wraps [`Array#pop`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/pop) with proper change tracking. * @a
lib/types/documentArray/methods/index.js:240
Functionpop
* Wraps [`Array#pop`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/pop) with proper change tracking. * * #### Note
lib/types/array/methods/index.js:604
← previousnext →1,201–1,300 of 1,434, ranked by callers