You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
The current MongoDB driver supports the operations findOneAndDelete, findOneAndReplace, and findOneAndUpdate which support modifying a document and returning the old version of the document as a single operation. Especially since Meteor doesn't allow creating a transaction yet, supporting these atomic operations would allow developers to avoid patterns like double checked read and update loops to avoid race conditions.
The text was updated successfully, but these errors were encountered:
The current MongoDB driver supports the operations
findOneAndDelete
,findOneAndReplace
, andfindOneAndUpdate
which support modifying a document and returning the old version of the document as a single operation. Especially since Meteor doesn't allow creating a transaction yet, supporting these atomic operations would allow developers to avoid patterns like double checked read and update loops to avoid race conditions.The text was updated successfully, but these errors were encountered: