I hear this today the first time. What exactly os not atomic, and is there a resource with more details?
I hear this today the first time. What exactly os not atomic, and is there a resource with more details?
That is, of course, if one doesn't want to deal with piles of shitty code and even more shitty data.
You can't do that with PG JSONB unless you lock the row for reading...
How do you increment a value in a column while other people write to the database? You don't grab the whole damn row and rewrite it...
> which is why database engines worth anything let you describe to them what your needs are
Contradicts your argument.
Mongo has atomic updates to update specific fields, or you can do replaceOne() etc to replace the whole document.
While PG only gives you "replace" with JSON.
So I guess postgres isn't worth anything. :)