Re:The Great Migration from MongoDB to PostgreSQL
by winrid on Saturday March 30, 2024 @04:11AM
(#39872861)
Also this statement:
> 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. :)
Re:The Great Migration from MongoDB to PostgreSQL
by winrid on Saturday March 30, 2024 @04:08AM
(#39872847)
So updating one column on a table is destructive and can lose important information now? :D
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...
https://en.wikipedia.org/wiki/Isolation_(database_systems)