MCPcopy Create free account

hub / github.com/Automattic/mongoose / functions

Functions1,512 in github.com/Automattic/mongoose

MethodisAdult
()
test/types/schema.create.test.ts:1319
FunctionisBuiltInMiddleware
lib/helpers/buildMiddlewareFilter.js:9
FunctionisCastError
test/schema.test.js:2846
FunctionisRequired
()
test/schema.validation.test.js:337
Functioniter
(mem)
lib/document.js:5643
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:1117
Methodm1
()
test/types/queries.test.ts:1112
Methodm2
()
test/types/queries.test.ts:1113
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:1234
FunctionmatchValidator
(v)
lib/schema/string.js:541
Functionmessage
test/schema.validation.test.js:1505
Functionmessage
(props: { path: string })
test/types/schemaTypeOptions.test.ts:38
Functionmiddleware
()
test/model.discriminator.test.js:436
FunctionmiddlewareFiltersFromLastArg
* kareem `getOptions` implementation for custom statics and methods: reads the * `middleware` option from the call's last argument if it is a plain o
lib/helpers/buildMiddlewareFilter.js:30
FunctionmodelRemoveOptions
()
test/types/models.test.ts:613
FunctionmodelValidateReturnsCastedObject
()
test/types/models.test.ts:100
FunctionmongooseMapObjectIdKeys
()
test/types/maps.test.ts:89
FunctionmongooseQueryOptions
()
test/types/queries.test.ts:855
MethodmyMethod
()
test/types/loadclass.test.ts:7
FunctionmyName
()
test/types/schema.create.test.ts:934
FunctionmyName
()
test/types/schema.test.ts:921
FunctionmyPlugin
(schema)
test/model.discriminator.test.js:2123
MethodmyStatic
()
test/types/loadclass.test.ts:8
FunctionmyValidator
()
test/schema.validation.test.js:1030
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:589
Functionnotify
(event)
lib/types/documentArray/methods/index.js:440
Functionobfuscate
(email)
test/docs/getters-setters.test.js:34
FunctiononInitialized
()
lib/helpers/cursor/waitForInitialization.js:5
FunctionopenExistingConversation
()
docs/js/ask-ai.js:163
MethodopenUri
()
test/driver.test.js:86
Functionoptionality
()
test/types/inferrawdoctype.test.ts:56
FunctionoverwriteBulkWriteContents
()
test/types/models.test.ts:436
Methodpfunc
()
test/types/queries.test.ts:913
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:801
FunctionpluginFunction2
(schema: Schema<any>)
test/types/schema.create.test.ts:834
FunctionpluginFunction2
(schema: Schema<any>)
test/types/schema.test.ts:821
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:795
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:418
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:263
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:610
FunctionpreMiddlewareFn
(opts)
test/types/middleware.test.ts:5
FunctionpreValidate
()
test/model.discriminator.test.js:623
MethodprintName
(this: IUser)
test/types/models.test.ts:1288
MethodprintNamePrefixed
(this: IUser, prefix: string)
test/types/models.test.ts:1287
Functionpull
* Pulls items from the array atomically. * * @param {...object} [args] * @api public * @method pull * @memberOf MongooseDocumentArray
lib/types/documentArray/methods/index.js:292
Functionpull
* Pulls items from the array atomically. Equality is determined by casting * the provided value to an embedded document and comparing using * [t
lib/types/array/methods/index.js:648
Functionpush
* Wraps [`Array#push`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push) with proper change tracking. *
lib/types/documentArray/methods/index.js:246
Functionpush
* Wraps [`Array#push`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/push) with proper change tracking. * * #### Ex
lib/types/array/methods/index.js:722
FunctionqueryById
(id: string)
test/types/inferrawdoctype.test.ts:492
FunctionqueryFeatures
( query: mongoose.Query<R, T, object, T, TQueryOp>, { params }: QueryFeaturesProps )
test/types/queries.test.ts:1062
FunctionrawDocSyntax
()
test/types/models.test.ts:31
Functionref
()
test/model.populate.test.js:11491
FunctionregisterPlugin
()
test/types/plugin.test.ts:76
Functionremove
* Alias of [pull](https://mongoosejs.com/docs/api/array.html#MongooseArray.prototype.pull()) * * @see MongooseArray#pull https://mongoosejs.com/
lib/types/array/methods/index.js:787
FunctionremoveSufix
(name)
test/document.test.js:13381
Functionrequired
()
test/model.validate.test.js:233
Functionrequired
()
test/document.test.js:14573
FunctionresetId
(v)
lib/schema/objectId.js:297
FunctionresizePanel
(event)
docs/js/ask-ai.js:298
Functionreverse
* Wraps [`Array#reverse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse) * with proper change trac
lib/types/documentArray/methods/index.js:348
FunctionsaveSubdocsPostDeleteOne
()
lib/plugins/saveSubdocs.js:77
FunctionsaveSubdocsPostSave
()
lib/plugins/saveSubdocs.js:42
FunctionsaveSubdocsPreDeleteOne
()
lib/plugins/saveSubdocs.js:62
FunctionsaveSubdocsPreSave
()
lib/plugins/saveSubdocs.js:22
FunctionschemaDouble
()
test/types/schema.create.test.ts:1827
FunctionschemaDouble
()
test/types/schema.test.ts:1864
FunctionschemaInstanceMethodsAndQueryHelpers
()
test/types/models.test.ts:543
FunctionschemaInstanceMethodsAndQueryHelpersOnConnection
()
test/types/connection.test.ts:115
FunctionschemaMapPropertyReducer
(accum, [path, propertyConfig])
lib/schema.js:1054
Functionset
(i, val, skipModified)
lib/types/documentArray/methods/index.js:468
Functionset
* Sets the casted `val` at index `i` and marks the array modified. * * #### Example: * * // given documents based on the following
lib/types/array/methods/index.js:818
Functionset
(v)
test/schema.test.js:3414
Functionset
(v)
test/types.map.test.js:670
Functionset
(v)
test/document.test.js:7485
Functionset
()
test/model.discriminator.test.js:2302
Functionset
()
test/types/virtuals.test.ts:115
Functionset
(v)
test/docs/virtuals.test.js:187
FunctionsetAsObject
()
test/types/base.test.ts:91
FunctionsetAutoSearchIndex
()
test/types/base.test.ts:72
FunctionsetForceRepopulate
()
test/types/base.test.ts:79
FunctionsetLat
(val)
test/model.test.js:1484
FunctionshardingPluginPostInit
()
lib/plugins/sharding.js:19
FunctionshardingPluginPostSave
()
lib/plugins/sharding.js:28
FunctionshardingPluginPreDeleteOne
()
lib/plugins/sharding.js:32
FunctionshardingPluginPreSave
()
lib/plugins/sharding.js:24
← previousnext →1,301–1,400 of 1,512, ranked by callers