Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tomsthumb
· 13y ago · 0 comments
Don't you pretty much get document level locking by using multiple $<update> modifiers in a single query?
Comments
[–]
apendleton
13y ago
From an atomicity perspective, yes. From a performance perspective, no; other concurrent operations affecting anything else on the whole database wait on your write.