Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Automattic/mongoose
/ functions
Functions
1,434 in github.com/Automattic/mongoose
⨍
Functions
1,434
◇
Types & classes
784
Function
gh16240
()
test/types/queries.test.ts:275
Function
gh16402
()
test/types/models.test.ts:84
Function
gh16526
()
test/types/models.test.ts:1178
Function
gh3230
()
test/types/queries.test.ts:783
Function
gh4727
()
test/types/models.test.ts:980
Function
gh8389
()
test/types/schema.create.test.ts:1717
Function
gh8389
()
test/types/schema.test.ts:1764
Function
gh8768
()
test/types/model.skip.middleware.test.ts:14
Function
gh9857
()
test/types/schema.create.test.ts:152
Function
gh9857
()
test/types/schema.test.ts:155
Function
greet
(greeting: string)
test/types/schema.test.ts:2124
Method
greeting
()
test/schema.test.js:2835
Function
handle$in
* Just like handleArray, except also allows `[]` because surprisingly * `$in: [1, []]` works fine * @api private
lib/schemaType.js:1740
Function
handleArray
(val, context)
lib/schemaType.js:1724
Function
handleArray
(val)
lib/schema/uuid.js:223
Function
handleArray
(val)
lib/schema/number.js:424
Function
handleArray
(val, context)
lib/schema/string.js:626
Function
handleBitwiseOperator
(val)
lib/schema/operators/bitwise.js:13
Function
handleNextResultCallBack
(err)
lib/helpers/cursor/eachAsync.js:139
Function
handleSingle
(val, context)
lib/schemaType.js:1716
Function
handleSingle
(val, context)
lib/schema/bigint.js:208
Function
handleSingle
(val, context)
lib/schema/int32.js:232
Function
handleSingle
(val)
lib/schema/decimal128.js:214
Function
handleSingle
(val)
lib/schema/uuid.js:215
Function
handleSingle
(val)
lib/schema/objectId.js:260
Function
handleSingle
(val)
lib/schema/number.js:420
Function
handleSingle
(val, context)
lib/schema/buffer.js:259
Function
handleSingle
* Date Query casting. * * @param {any} val * @api private
lib/schema/date.js:391
Function
handleSingle
(val)
lib/schema/double.js:197
Function
handleSingle
(val, context)
lib/schema/string.js:618
Function
handleSingleNoSetters
(val)
lib/schema/string.js:640
Function
handleValidationError
* gh-issue #11367 * * @see https://github.com/Automattic/mongoose/issues/11367
test/types/Errors.test.ts:8
Function
hasAtomics
* 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
Method
hello
()
test/schema.test.js:2783
Method
hello
()
test/schema.test.js:2789
Function
helloPlugin
(schema)
test/index.test.js:499
Function
hydrateWithStrictOption
()
test/types/models.test.ts:1335
Function
id
* 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
Function
includes
* 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
Function
index
()
test/types/schemaTypeOptions.test.ts:36
Function
indexOf
* 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
Function
inferPojoType
()
test/types/inferrawdoctype.test.ts:4
Function
inheritance
()
test/types/models.test.ts:334
Function
insertManyTest
()
test/types/models.test.ts:167
Method
insertOne
(doc, options)
test/driver.test.js:92
Function
inspect
* Helper for console.log * * @method inspect * @api public * @memberOf MongooseDocumentArray
lib/types/documentArray/methods/index.js:375
Function
instanceFn
()
test/document.test.js:16078
Function
instanceFn
()
test/types/schema.create.test.ts:552
Function
instanceFn
()
test/types/schema.test.ts:555
Function
isAdult
()
test/types/schema.create.test.ts:1335
Function
isAdult
()
test/types/schema.test.ts:1395
Method
isAdult
()
test/types/schema.create.test.ts:1319
Function
isBuiltInMiddleware
lib/helpers/buildMiddlewareFilter.js:8
Function
isRequired
()
test/schema.validation.test.js:274
Function
iter
(mem)
lib/document.js:5562
Function
last
(v)
test/schema.test.js:562
Function
leanFalse
()
test/types/lean.test.ts:369
Function
lowercase
(v)
test/schema.test.js:505
Function
m1
()
test/types/queries.test.ts:884
Method
m1
()
test/types/queries.test.ts:879
Method
m2
()
test/types/queries.test.ts:880
Function
main
()
test/types/lean.test.ts:244
Function
map
(o)
lib/drivers/node-mongodb-native/collection.js:327
Function
maps
()
test/types/schema.create.test.ts:1183
Function
maps
()
test/types/schema.test.ts:1236
Function
matchValidator
(v)
lib/schema/string.js:537
Function
middleware
()
test/model.discriminator.test.js:436
Function
modelRemoveOptions
()
test/types/models.test.ts:609
Function
modelValidateReturnsCastedObject
()
test/types/models.test.ts:96
Function
mongooseQueryOptions
()
test/types/queries.test.ts:622
Method
myMethod
()
test/types/loadclass.test.ts:7
Function
myName
()
test/types/schema.create.test.ts:934
Function
myName
()
test/types/schema.test.ts:923
Function
myPlugin
(schema)
test/model.discriminator.test.js:2123
Method
myStatic
()
test/types/loadclass.test.ts:8
Function
myValidator
()
test/schema.validation.test.js:967
Method
myVirtual
()
test/types/loadclass.test.ts:9
Function
nonAtomicPush
* 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
Function
notify
(event)
lib/types/documentArray/methods/index.js:415
Function
obfuscate
(email)
test/docs/getters-setters.test.js:34
Function
openExistingConversation
()
docs/js/ask-ai.js:136
Method
openUri
()
test/driver.test.js:86
Function
optionality
()
test/types/inferrawdoctype.test.ts:56
Function
overwriteBulkWriteContents
()
test/types/models.test.ts:432
Method
pfunc
()
test/types/queries.test.ts:680
Function
plugin
()
test/model.discriminator.test.js:1395
Function
pluginFunction
(schema: Schema<any>, options: SomePluginOptions)
test/types/schema.create.test.ts:814
Function
pluginFunction
(schema: Schema<any>, options: SomePluginOptions)
test/types/schema.test.ts:803
Function
pluginFunction2
(schema: Schema<any>)
test/types/schema.create.test.ts:834
Function
pluginFunction2
(schema: Schema<any>)
test/types/schema.test.ts:823
Function
pluginGeneric
(schema: Schema)
test/types/plugin.test.ts:62
Function
pluginMethods
(schema: Schema<Test, any, TestInstanceMethods>)
test/types/plugin.test.ts:18
Function
pluginOptions
()
test/types/schema.create.test.ts:808
Function
pluginOptions
()
test/types/schema.test.ts:797
Function
pluginQueryHelpers
(schema: Schema<Test, any, any, TestQueryHelpers>)
test/types/plugin.test.ts:12
Function
pluginStatics
(schema: Schema<Test, TestModel, any, TestQueryHelpers, any, TestStaticMethods>)
test/types/plugin.test.ts:24
Function
pluginVirtuals
(schema: Schema<Test, any, any, any, TestVirtuals>)
test/types/plugin.test.ts:3
Function
pluralize
(name)
test/utils.test.js:396
Function
pop
* 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
Function
pop
* 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
← previous
next →
1,201–1,300 of 1,434, ranked by callers