gluesql / gluesql

GlueSQL is quite sticky. It attaches to anywhere.

Home Page:https://gluesql.org/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make `IdbStorage` storage support Transactions

gitmalong opened this issue · comments

Hi!

When using transactions with a IdbStorage it fails with:

 glue.storage.begin(true).await.unwrap();

// leads to error:
// [Storage] Transaction::begin is not supported

What I understood is that IndexedDb technically supports transactions: https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction

Would be awesome to get this feature!