MCPcopy Create free account

hub / github.com/Automattic/mongoose / functions

Functions1,512 in github.com/Automattic/mongoose

↓ 1 callersFunctiondefaultIndexOptsToFalse
(opts)
lib/helpers/processConnectionOptions.js:54
↓ 1 callersFunctiondelay
(ms)
test/model.updateOne.test.js:3940
↓ 1 callersFunctiondelay
(ms)
test/timestamps.test.js:1098
↓ 1 callersFunctiondelay
(ms)
test/model.test.js:10337
↓ 1 callersFunctiondelay
(ms)
test/query.cursor.test.js:1140
↓ 1 callersFunctiondeleteAllHtmlFiles
()
scripts/website.js:122
↓ 1 callersFunctiondoExit
(code)
test/deno.mjs:34
↓ 1 callersFunctiondocs
(arr)
test/types.array.test.js:1903
↓ 1 callersFunctiondownloadCryptShared
()
scripts/setup-encryption-tests.js:16
↓ 1 callersFunctionencrypt
(doc, path, value)
test/document.test.js:9639
↓ 1 callersFunctionexists
* @param {string} path * * @returns {boolean}
test/encryption/encryption.test.js:23
↓ 1 callersFunctionextractTextUrlFromTag
* Extract the Text and Url from a description if any * @param {Tag} tag The tag to process the resulting object from * @param {PropContext} ctx The
docs/source/api.js:591
↓ 1 callersFunctionfailFirstCommit
(createError)
test/docs/transactions.test.js:497
↓ 1 callersFunctionfilter
()
test/query.test.js:681
↓ 1 callersMethodfindByFullName
(name)
test/docs/schemas.test.js:53
↓ 1 callersFunctionfindChildModel
* Check if there is an embedded schematype in the given schematype. Handles drilling down into primitive * arrays and maps in case of array of array
lib/helpers/model/applyHooks.js:150
↓ 1 callersMethodfindOne
( filter: QueryFilter<mongoose.WithLevel1NestedPaths<Blog>>, projection: Projection, options
test/types/queries.test.ts:764
↓ 1 callersMethodfindSomething
(this: TestModel)
test/types/plugin.test.ts:49
↓ 1 callersFunctionfixNoAsyncFn
()
docs/js/convert-old-anchorid.js:73
↓ 1 callersFunctionfixSubIndexPaths
* Checks for indexes added to subdocs using Schema.index(). * These indexes need their paths prefixed properly. * * schema._indexes = [ [inde
lib/helpers/schema/getIndexes.js:142
↓ 1 callersFunctionflatten
(item)
lib/model.js:4605
↓ 1 callersFunctionflatten
(update, path, options, schema)
lib/helpers/common.js:20
↓ 1 callersFunctionfoo
(model: Model<User, {}, {}, {}>)
test/types/models.test.ts:243
↓ 1 callersMethodfoo
()
test/model.test.js:9237
↓ 1 callersFunctionformatApiType
* Format an API type string for Markdown output. * @param {String} [types] The API type string to format * @returns {String}
docs/source/api.js:271
↓ 1 callersFunctionformatDate
(x, key, shell)
lib/drivers/node-mongodb-native/collection.js:333
↓ 1 callersFunctionformatMaxLengthValidatorMessage
(msg)
lib/schema/string.js:739
↓ 1 callersFunctionformatMessage
* Formats error messages * @api private
lib/error/validator.js:80
↓ 1 callersFunctionformatObjectId
(x, key)
lib/drivers/node-mongodb-native/collection.js:330
↓ 1 callersMethodfullName
()
test/types/document.test.ts:83
↓ 1 callersMethodfunc
(this: TestDoc)
test/types/queries.test.ts:909
↓ 1 callersFunctiongenerateContents
()
scripts/generateSearch.js:35
↓ 1 callersFunctiongenerateRandomCollectionName
()
test/model.test.js:10345
↓ 1 callersFunctiongenerateRecursiveDocument
(depth, curr = 0)
test/schema.test.js:4603
↓ 1 callersFunctiongenerateRecursiveDocument
(depth, curr = 0)
test/document.test.js:14997
↓ 1 callersFunctiongenerateSearch
(config)
scripts/generateSearch.js:131
↓ 1 callersFunctiongenerateVersionError
(doc, modifiedPaths, defaultPaths)
lib/model.js:593
↓ 1 callersFunctionget
()
test/types/schema.test.ts:2116
↓ 1 callersFunctiongetConfig
()
scripts/generateSearch.js:183
↓ 1 callersFunctiongetCurrentVersion
* Try to get the current version on the checked-out branch * @returns {Version}
scripts/website.js:290
↓ 1 callersFunctiongetIndexesToCreate
(schema, schemaIndexes, dbIndexes, toDrop, options)
lib/model.js:1492
↓ 1 callersFunctiongetIndexesToDrop
(schema, schemaIndexes, dbIndexes)
lib/model.js:1526
↓ 1 callersFunctiongetLatestVersionOf
* Get the latest version for the provided major version * @param {number} version major version to search for * @returns {Version}
scripts/website.js:274
↓ 1 callersFunctiongetMapPath
(schema, path)
lib/schema.js:1553
↓ 1 callersFunctiongetOwnPropertyDescriptors
(object)
lib/helpers/document/compile.js:216
↓ 1 callersFunctiongetPartialFilterExpression
(index, indexesType)
lib/helpers/indexes/getRelatedIndexes.js:57
↓ 1 callersFunctiongetPaymentModel
()
test/model.updateOne.test.js:3452
↓ 1 callersFunctiongetPaymentWithDotSeparatedPaths
()
test/model.updateOne.test.js:3475
↓ 1 callersFunctiongetPopulatedLocationIds
(trip)
test/types.documentarray.test.js:1466
↓ 1 callersFunctiongetPositionalPath
(self, path, cleanPath)
lib/schema.js:2149
↓ 1 callersFunctiongetProperty
(obj, prop)
lib/helpers/get.js:57
↓ 1 callersFunctiongetReadPreferenceMode
(readPreference)
lib/helpers/processConnectionOptions.js:43
↓ 1 callersFunctiongetStrictQuery
(queryOptions, schemaUserProvidedOptions, schemaOptions, context)
lib/cast.js:419
↓ 1 callersMethodgetString
()
test/model.discriminator.test.js:1433
↓ 1 callersFunctiongetSubdocs
(doc)
lib/document.js:4040
↓ 1 callersFunctiongetTeacherPosts
(id, skip)
test/model.populate.test.js:6492
↓ 1 callersFunctiongetTestField
(obj: { testField: string })
test/types/schema.test.ts:1952
↓ 1 callersFunctiongetTestRouteData
()
test/types/docArray.test.ts:63
↓ 1 callersFunctiongetTests
* Load all test file contents with acquit * @returns {Object[]} acquit ast array
scripts/website.js:100
↓ 1 callersFunctiongetTimestampsOpt
* gets timestamps option for a given operation. If the option is set within an individual operation, use it. Otherwise, use the global timestamps opti
lib/helpers/model/castBulkWrite.js:337
↓ 1 callersFunctiongetUri
(default_uri, db)
test/common.js:92
↓ 1 callersFunctiongetUriReadPreference
(connectionString)
lib/helpers/processConnectionOptions.js:48
↓ 1 callersFunctiongetUser
()
test/document.test.js:14345
↓ 1 callersFunctiongetUserModel
()
test/document.validate.test.js:1785
↓ 1 callersFunctiongetV8FilterQuery
(filter: QueryFilter<Entity>)
test/types/queries.test.ts:1088
↓ 1 callersFunctiongetVersions
* Get versions from git tags and put them into {@link filteredTags}
scripts/website.js:221
↓ 1 callersFunctiongh12537
()
test/types/mongo.test.ts:5
↓ 1 callersFunctionhandleAccumulator
(operator)
lib/helpers/aggregate/stringifyFunctionOperators.js:40
↓ 1 callersFunctionhandleAtomics
* Compiles an update and where clause for a `val` with _atomics. * * @param {Document} self * @param {object} where * @param {object} delta * @pa
lib/document.js:5599
↓ 1 callersFunctionhandleNextResult
(doc, i, callback)
lib/helpers/cursor/eachAsync.js:170
↓ 1 callersFunctionhandleRefFunction
(ref, doc)
lib/helpers/populate/getModelsMapForPopulate.js:728
↓ 1 callersFunctionhandleSuccessfulWrite
(document, options)
lib/model.js:3741
↓ 1 callersFunctionhasExcludedAncestor
(fields, path)
lib/queryHelpers.js:443
↓ 1 callersFunctionhasKey
(obj, key)
lib/helpers/update/decorateUpdateWithVersionKey.js:30
↓ 1 callersMethodhasNext
(cb)
lib/cursor/changeStream.js:99
↓ 1 callersFunctionhasValidatedAncestor
(alreadyValidated, path)
lib/helpers/updateValidators.js:187
↓ 1 callersFunctionindexSingleDone
(err, fields, options, name)
lib/model.js:1749
↓ 1 callersFunctionindexSingleStart
(fields, options)
lib/model.js:1752
↓ 1 callersMethodinfo
()
test/types/document.test.ts:325
↓ 1 callersFunctioninit
* Init helper. * * @param {object} self document instance * @param {object} obj raw mongodb doc * @param {object} doc object we are initializing
lib/document.js:756
↓ 1 callersMethodinit
(type, value, path, reason, schemaType)
lib/error/cast.js:49
↓ 1 callersFunctioninitializeData
()
test/query.middleware.test.js:25
↓ 1 callersMethodinsertMany
(elems: T[])
test/types/models.test.ts:944
↓ 1 callersFunctioninvalidate
()
test/document.validate.test.js:1669
↓ 1 callersFunctionis
(tj)
test/types.buffer.test.js:185
↓ 1 callersFunctionisEmptyFilter
(obj)
lib/query.js:174
↓ 1 callersFunctionisLean
(document)
test/model.test.js:10341
↓ 1 callersFunctionisLean
test/model.populate.test.js:6849
↓ 1 callersFunctionisModified
(castedDoc, updatedKeys, path, pathPieces, hasDollarUpdate)
lib/helpers/setDefaultsOnInsert.js:111
↓ 1 callersFunctionisPathInFields
(userProvidedFields, path)
lib/helpers/query/selectPopulatedFields.js:51
↓ 1 callersFunctionisPopulatedObject
* Determine if `obj` is something we can set a populated path to. Can be a * document, a lean document, or an array/map that contains docs. * @param
lib/helpers/populate/assignVals.js:351
↓ 1 callersMethodisSuperAdmin
()
test/types/schema.test.ts:1648
↓ 1 callersFunctioniter
* Copy the collection methods and make them subject to queues * @param {number|string} I * @api private
lib/drivers/node-mongodb-native/collection.js:89
↓ 1 callersFunctioniterate
(finalCallback)
lib/helpers/cursor/eachAsync.js:66
↓ 1 callersFunctionjsfy
(obj)
test/model.middleware.preposttypes.test.js:49
↓ 1 callersFunctionloadMarkdownDependencies
()
docs/js/ask-ai.js:312
↓ 1 callersFunctionloadScript
(src, isLoaded)
docs/js/ask-ai.js:324
↓ 1 callersFunctionmain
()
scripts/static.js:12
↓ 1 callersFunctionmain
()
scripts/setup-encryption-tests.js:9
↓ 1 callersFunctionmakeLean
* Set each path query option to lean * * @param {object} option
lib/queryHelpers.js:465
← previousnext →401–500 of 1,512, ranked by callers