Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Automattic/mongoose
/ functions
Functions
1,512 in github.com/Automattic/mongoose
⨍
Functions
1,512
◇
Types & classes
795
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:378
Method
constructor
(prop)
test/document.test.js:7620
Method
constructor
(key, options)
test/document.test.js:14870
Method
constructor
(value)
test/document.test.js:14882
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:939
Method
constructor
()
test/types/queries.test.ts:760
Method
constructor
()
test/types/queries.test.ts:890
Method
constructor
(key: string, options: Record<string, any>)
test/types/schema.test.ts:380
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
countByName
(name: string)
test/types/schema.test.ts:2422
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:413
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:1476
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
Function
customModelInstanceWithStatics
()
test/types/models.test.ts:1258
Function
customPluralize
(str)
test/index.test.js:62
Function
debugOptions
()
test/types/base.test.ts:101
Function
def
()
test/model.test.js:1455
Function
default
()
test/types/schema.create.test.ts:633
Function
default
()
test/types/schema.test.ts:633
Function
defaultFn
()
lib/schema/array.js:113
Function
defaultId
()
lib/schema/objectId.js:291
Function
defaultOptions
()
test/types/schemaTypeOptions.test.ts:91
Function
defaultReturnsUndefined
()
test/types/schema.create.test.ts:1881
Function
defaultReturnsUndefined
()
test/types/schema.test.ts:1918
Function
deleteId
(doc, ret)
test/document.test.js:585
Method
deleteInstallation
(installationId: number)
test/types/models.test.ts:349
Function
disallownumflows
()
test/document.test.js:11147
Method
discriminator
Adds a discriminator type.
types/models.d.ts:15
Method
displayAs
()
test/schema.test.js:3103
Method
displayAs
()
test/schema.test.js:3109
Function
doSomething
()
test/types/models.test.ts:568
Function
doSomething
()
test/types/connection.test.ts:140
Method
doSomething
(this: HydratedDocument<User>)
test/types/models.test.ts:552
Method
doSomething
(this: HydratedDocument<User>)
test/types/connection.test.ts:124
Function
documentDepopulate
()
test/types/populate.test.ts:87
Function
dovalidate
()
test/model.test.js:758
Function
dovalidateAsync
()
test/model.test.js:763
Function
dropDBs
()
test/common.js:152
Function
eachAsync
()
test/types/aggregate.test.ts:40
Method
email
(v)
test/docs/getters-setters.test.js:169
Function
emitRemove
()
lib/types/subdocument.js:440
Function
employeeSchemaPreSaveFn
()
test/model.discriminator.test.js:58
Function
encrypt
()
test/types/schemaTypeOptions.test.ts:112
Function
encryptionType
()
test/types/schema.create.test.ts:607
Function
encryptionType
()
test/types/schema.test.ts:608
Function
end
()
test/tracing.test.js:43
Function
error
(ctx)
test/tracing.test.js:46
Function
errorHandler
(err, res, next)
test/query.middleware.test.js:399
Function
extract
(v)
test/schema.test.js:526
Function
failingvalidator
()
test/model.test.js:628
Method
fetchUser
(name: string)
benchmarks/typescript/simple/index.ts:10
Function
find
()
test/types/models.test.ts:315
Method
find
(id: string)
test/types/queries.test.ts:615
Function
findById
(model: Model<ModelType>, _id: Types.ObjectId | string)
test/types/queries.test.ts:971
Method
findById
(id: string)
test/types/generics.test.ts:10
Function
findByName
(name: string)
test/types/discriminator.test.ts:126
Function
findByName
(name: string)
test/types/models.test.ts:563
Function
findByName
(name: string)
test/types/schema.test.ts:2419
Function
findByName
(name: string)
test/types/connection.test.ts:135
Method
findByName
(name: string)
test/types/models.test.ts:555
Method
findByName
(name: string)
test/types/connection.test.ts:127
Method
findOne
(filter, options)
test/driver.test.js:15
Function
findSomething
(model: Model<CommonInterface<T>>)
test/types/queries.test.ts:453
Function
findWithId
()
test/types/models.test.ts:690
Function
first
()
test/schema.test.js:568
Function
flatten
(item)
lib/helpers/populate/splitPopulateQuery.js:78
Function
fn
()
test/model.middleware.preposttypes.test.js:113
Function
fn
()
test/helpers/cursor.eachAsync.test.js:44
Function
fnPost
(res)
test/model.middleware.preposttypes.test.js:128
Function
foo
()
test/driver.test.js:67
Function
format
(v)
test/schema.test.js:664
Function
fromUUID
(buffer)
test/model.findOneAndUpdate.test.js:1761
Function
fullName
()
test/types/populate.test.ts:576
← previous
next →
801–900 of 1,512, ranked by callers