3 ms·
The difference is that, unless you’re using a SQL database with direct/extended support for write-once immutability or a data model designed for it, once the tr
by eyelidlessness 5y ago
The difference is that, unless you’re using a SQL database with direct/extended support for write-once immutability or a data model designed for it, once the transaction exits every successful committed change is ~final.
A write-once immutability design (whether in the DB itself, or an extension, or a userspace implementation) lets you reconsider and rework mistakes after they’re committed, not unlike how you might do with git rebase etc.