Re:What If OpenDocument Used SQLite?
by remram on Monday September 18, 2023 @07:28AM
(#37554800)
Why not use a transaction?
[ Parent
| on HN ]
A single transaction for the whole user session? That seems a bad idea. Also I'm not sure you can do transactions during another transaction, and I need them for other purpose for what they were designed (doing changes in multiple tables that need to stay consistent).
It’s exactly what transactions are for. A nested transaction is called a savepoint, which sqlite does support.