MCPcopy Create free account

hub / github.com/Automattic/mongoose / functions

Functions1,512 in github.com/Automattic/mongoose

FunctionshardingPluginPreUpdateOne
()
lib/plugins/sharding.js:36
Functionshift
* Wraps [`Array#shift`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/shift) with proper change tracking.
lib/types/documentArray/methods/index.js:306
Functionshift
* Wraps [`Array#shift`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/unshift) with proper change tracking. * * ###
lib/types/array/methods/index.js:849
Functionsort
* Wraps [`Array#sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) * with proper change tracking.
lib/types/documentArray/methods/index.js:366
Functionsort
* Wraps [`Array#sort`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/sort) with proper change tracking. * * #### No
lib/types/array/methods/index.js:870
Functionsplice
* Wraps [`Array#splice`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice) with proper change tracking an
lib/types/documentArray/methods/index.js:333
Functionsplice
* Wraps [`Array#splice`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/splice) with proper change tracking and casting.
lib/types/array/methods/index.js:890
FunctionstandardSchemaModelValidate
()
test/types/models.test.ts:56
FunctionstartResize
(event)
docs/js/ask-ai.js:287
FunctionstaticFn
()
test/model.test.js:9314
FunctionstaticFn
()
test/types/schema.create.test.ts:546
FunctionstaticFn
()
test/types/schema.test.ts:547
FunctionstaticReturnsSchemaWithStaticAdded
()
test/types/schema.test.ts:2409
FunctionstopResize
()
docs/js/ask-ai.js:303
FunctionstoreShard
()
lib/plugins/sharding.js:69
FunctionstringEnumArrayInfer
()
test/types/schema.test.ts:1089
FunctionstringEnumInfer
()
test/types/schema.test.ts:1065
Functionsuccess
(doc)
test/model.populate.test.js:1949
Functiont
(locale?: string)
test/types/models.test.ts:136
FunctiontAndDocSyntax
()
test/types/models.test.ts:154
Functiontest
()
test/types/discriminator.test.ts:28
Functiontest
(dbModel: Model<DocT>)
test/types/models.test.ts:753
Functiontest
()
test/encryption/encryption.test.js:146
FunctiontestCombinedFlattenOptions
()
test/types/document.test.ts:876
FunctiontestFind
()
test/types/models.test.ts:802
FunctiontestFindById
()
test/types/models.test.ts:819
FunctiontestFindByIdAndDelete
()
test/types/models.test.ts:859
FunctiontestFindByIdAndUpdate
()
test/types/models.test.ts:835
FunctiontestFindOne
()
test/types/models.test.ts:811
FunctiontestFindOneAndDelete
()
test/types/models.test.ts:851
FunctiontestFindOneAndReplace
()
test/types/models.test.ts:843
FunctiontestFindOneAndUpdate
()
test/types/models.test.ts:827
FunctiontestFlattenUUIDs
()
test/types/document.test.ts:824
FunctiontestGenericQuery
()
test/types/queries.test.ts:447
FunctiontestInferHydratedDocTypeFromSchema
()
test/types/schema.create.test.ts:1914
FunctiontestInferHydratedDocTypeFromSchema
()
test/types/schema.test.ts:2019
FunctiontestInferRawDocTypeFromSchema
()
test/types/schema.create.test.ts:1890
FunctiontestInferRawDocTypeFromSchema
()
test/types/schema.test.ts:1997
FunctiontestInferTimestamps
()
test/types/schema.create.test.ts:918
FunctiontestInferTimestamps
()
test/types/schema.test.ts:905
FunctiontestMethods
()
test/types/document.test.ts:76
FunctiontestMiddleware
()
test/schema.test.js:2327
FunctiontestNewSchemaWithMethodsAndVirtuals
()
test/types/schema.test.ts:2110
FunctiontestObjectIdsInsideMaps
()
test/types/document.test.ts:962
FunctiontestPathsParam
()
test/types/populate.test.ts:95
FunctiontestWithLevel1NestedPaths
()
test/types/models.test.ts:1130
FunctionthisParameterPattern
()
test/types/loadclass.test.ts:50
FunctiontimestampsPreSave
()
lib/helpers/timestamps/setupTimestamps.js:89
FunctiontoBSON
()
lib/types/documentArray/methods/index.js:24
FunctiontoBSON
()
lib/types/array/methods/index.js:921
FunctiontoBSON
()
test/types/document.test.ts:597
FunctiontoBSON
()
test/helpers/clone.test.js:301
FunctiontoJSON
()
test/helpers/clone.test.js:201
MethodtoJSON
* Converts this map to a native JavaScript Map for `JSON.stringify()`. Set * the `flattenMaps` option to convert this map to a POJO instead. *
lib/types/map.js:281
MethodtoJSON
* Ensure `name` and `message` show up in toJSON output re: gh-9296 * @api private
lib/error/validator.js:50
MethodtoJSONSchema
* Returns this schema type's representation in a JSON schema. * * @param {object} [options] * @param {boolean} [options.useBsonType=false] If
lib/schema/map.js:112
FunctiontoLower
(email)
test/docs/getters-setters.test.js:146
FunctiontoObject
* Returns a native js Array of plain js objects * * #### Note: * * _Each sub-document is converted to a plain object by calling its `#toOb
lib/types/documentArray/methods/index.js:199
FunctiontoObject
()
test/helpers/clone.test.js:57
FunctiontoObjectToJSONTest
()
test/types/loadclass.test.ts:110
FunctiontoString
()
lib/types/documentArray/methods/index.js:28
FunctiontoString
()
test/helpers/clone.test.js:190
MethodtoString
* Console.log helper
lib/error/validation.js:43
MethodtoString
* Console.log helper
lib/error/setOptionError.js:29
FunctiontoUUID
(string)
test/model.findOneAndUpdate.test.js:1750
FunctiontoUpperCase
test/schema.test.js:4675
FunctiontoggleTheme
()
docs/js/theme-toggle.js:12
Functiontrace
(fn, contextFactory)
lib/tracing.js:23
FunctiontrackTransactionPreDeleteOne
()
lib/plugins/trackTransaction.js:17
FunctiontrackTransactionPreSave
()
lib/plugins/trackTransaction.js:13
Functiontransform
(doc, id)
test/model.populate.test.js:9904
Functiontransform
(doc: unknown, ret: InferSchemaType<typeof TestSchema>)
test/types/schema.test.ts:1937
Functionunshift
* Wraps [`Array#unshift`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift) * with proper change trac
lib/types/documentArray/methods/index.js:381
Functionunshift
* Wraps [`Array#unshift`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/unshift) with proper change tracking. * * #
lib/types/array/methods/index.js:967
Functionuptick
()
test/model.test.js:1490
Functionvalid
(v)
test/types.buffer.test.js:15
Functionvalidate
()
test/schema.validation.test.js:640
Functionvalidate
()
test/document.validate.test.js:175
Functionvalidate
(v)
test/types.documentarray.test.js:494
Functionvalidate
(v)
test/document.test.js:8395
FunctionvalidateDoc
(doc, index)
lib/model.js:3122
Functionvalidator
(value)
test/schema.validation.test.js:506
Functionvalidator
()
test/model.test.js:994
Functionvalidator
()
test/document.validate.test.js:32
Functionvalidator
()
test/document.test.js:3873
Functionvalidator
(v: any)
test/types/schema.create.test.ts:1584
Functionvalidator
(v: any)
test/types/schema.test.ts:1641
Functionvalidator
(value)
test/docs/validation.test.js:302
FunctionvalidatorMessageFunctions
()
test/types/schemaTypeOptions.test.ts:37
FunctionvalueOf
()
test/helpers/clone.test.js:304
FunctionwhereFunc
()
test/helpers/query.sanitizeFilter.test.js:79
MethodwhoAmI
()
test/schema.test.js:3292
MethodwhoAmI
()
test/schema.test.js:3299
MethodwhoAmI
()
test/model.test.js:9431
MethodwhoAmI
()
test/model.test.js:9448
MethodwhoAmI
()
test/document.test.js:13662
MethodwhoAmI
()
test/document.test.js:13671
MethodwhoAmI
()
test/document.test.js:13678
MethodwhoAmI
()
test/document.test.js:13692
MethodwhoAmI
()
test/document.test.js:13911
← previousnext →1,401–1,500 of 1,512, ranked by callers