9 ms·
Don't you pretty much get document level locking by using multiple $<update> modifiers in a single query?
by tomsthumb 14y ago
Don't you pretty much get document level locking by using multiple $<update> modifiers in a single query?
- apendleton 14y agoFrom an atomicity perspective, yes. From a performance perspective, no; other concurrent operations affecting anything else on the whole database wait on your write.