Reputation: 591
Both UpdateOne and FindAndModify accept query and update part.
Is it possible that another process goes between the execution of the query part and the update part?
Are there differences between UpdateOne and FindAndModify from a performance point of view?
Upvotes: 0
Views: 65