Optional
maxThe maximum time to wait for a response from the server, in milliseconds.
Optional
upsertIf 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
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.