It should work for everything. In SQLite DOs, the KV API is actually using the same SQLite database

It should work for everything. In SQLite DOs, the KV API is actually using the same SQLite database with a "secret-hidden-not-so-much" table automatically created in the same SQLite database. So, both the KV and SQL API are consistent with each other.
I wouldn't suggest mixing them arbitrarily though since I am not sure how multiple transactions would work, e.g. nesting them.

Also, as long as your are doing storage writes without any IO inbetween (e.g.
fetch
), you shouldn't even need explicitly making transactions. But anyway, without concrete examples, this is mostly theory so I will stop here πŸ™‚
Was this page helpful?