UpdateOptions
Defined in: packages/client/src/types.ts:106
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”
optionalsort?:Sort
Defined in: packages/client/src/types.ts:110
Which matching document comes first (updateOne, findOneAnd*).
upsert?
Section titled “upsert?”
optionalupsert?:boolean
Defined in: packages/client/src/types.ts:108
Insert a document when nothing matches.
writeConcern?
Section titled “writeConcern?”
optionalwriteConcern?:object
Defined in: packages/client/src/types.ts:91
{ w: 'drive' } waits until the change is saved in Google Drive (slower).
optionalw?:"log"|"drive"
Inherited from
Section titled “Inherited from”Made by Faeiz Furqan