Represents the options for the updateMany command.
upsert - If true, perform an insert if no documents match the filter.
maxTimeMS - The maximum time to wait for a response from the server, in milliseconds.
Optional
The maximum time to wait for a response from the server, in milliseconds.
If true, perform an insert if no documents match the filter.
If false, do not insert if no documents match the filter.
Defaults to false.
false Copy
false
Represents the options for the updateMany command.
Field
upsert - If true, perform an insert if no documents match the filter.
Field
maxTimeMS - The maximum time to wait for a response from the server, in milliseconds.