Represents an updateOne operation that can be used in a bulk write operation.
filter - The filter to choose the document to update.
update - The update to apply to the document.
upsert - If true, perform an insert if no documents match the filter.
The filter to choose the document to update.
The update to apply to the document.
Optional
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 an updateOne operation that can be used in a bulk write operation.
Field
filter - The filter to choose the document to update.
Field
update - The update to apply to the document.
Field
upsert - If true, perform an insert if no documents match the filter.