Interface: UpdateManyOptions
Defined in: model/interfaces/update-many.interface.ts:7
Update Many Options parameter
Extends
IFindOptions.MutationFunctionOptions
Properties
consistency?
optionalconsistency:SearchConsistency
Defined in: handler/find/find-options.ts:41
Inherited from
IFindOptions.consistency
enforceRefCheck?
optionalenforceRefCheck:boolean|"throw"
Defined in: model/interfaces/update-many.interface.ts:19
Default: false enforceRefCheck will check if the referenced document exists set to true: will log a warning message. set to 'throw': will throw an exception.
Overrides
MutationFunctionOptions.enforceRefCheck
ignoreCase?
optionalignoreCase:boolean
Defined in: handler/find/find-options.ts:44
Inherited from
IFindOptions.ignoreCase
lean?
optionallean:boolean
Defined in: handler/find/find-options.ts:43
Inherited from
IFindOptions.lean
limit?
optionallimit:number
Defined in: handler/find/find-options.ts:36
Inherited from
IFindOptions.limit
maxExpiry?
optionalmaxExpiry:number
Defined in: utils/cast-strategy.ts:53
Inherited from
MutationFunctionOptions.maxExpiry
noCollection?
optionalnoCollection:boolean
Defined in: handler/find/find-options.ts:42
Inherited from
IFindOptions.noCollection
populate?
optionalpopulate:PopulateFieldsType
Defined in: handler/find/find-options.ts:38
Inherited from
IFindOptions.populate
populateMaxDeep?
optionalpopulateMaxDeep:number
Defined in: handler/find/find-options.ts:39
Inherited from
IFindOptions.populateMaxDeep
select?
optionalselect:string|string[] |ISelectType[]
Defined in: handler/find/find-options.ts:40
Inherited from
IFindOptions.select
skip?
optionalskip:number
Defined in: handler/find/find-options.ts:35
Inherited from
IFindOptions.skip
sort?
optionalsort:Record<string,SortType>
Defined in: handler/find/find-options.ts:37
Inherited from
IFindOptions.sort
strict?
optionalstrict:ApplyStrategy
Defined in: utils/cast-strategy.ts:52
Inherited from
MutationFunctionOptions.strict
transactionContext?
optionaltransactionContext:TransactionAttemptContext
Defined in: utils/cast-strategy.ts:55
Inherited from
MutationFunctionOptions.transactionContext
upsert?
optionalupsert:boolean
Defined in: model/interfaces/update-many.interface.ts:11
Default: false if true, and no documents found, insert a new document.