Actually, haven't checked yet, but does `storage.transaction` work with SQLite-engine DOs?
Actually, haven't checked yet, but does
storage.transaction work with SQLite-engine DOs?storage.transactionstorage.transaction working for "SQLite-engine DOs" is great! However, is that just for the old get(), put(), etc. calls or does it work for SQL statements also?fetch), you shouldn't even need explicitly making transactions. But anyway, without concrete examples, this is mostly theory so I will stop here .exec() method does the prepare statements for you. Soon they will be cached automatically as well..sql.exec()If you invoke put() (or delete()) multiple times without performing any await in the meantime, the operations will automatically be combined and submitted atomically. In case of a machine failure, either all of the writes will have been stored to disk or none of the writes will have been stored to disk.


sql.exec().
get()put().exec().sql.exec()sql.exec()