Open rhildred opened 1 year ago
Hi, thank you for your interest in this library! :) Do you have some more detailed information about the errors from PRAGMAs that you encountered? We might be able to fix them. I'm afraid that turning all PRAGMAs into noops in the library is not a solution that we can merge.
Hi, Thanks for your quick reply. The only PRAGMA that I saw so far was PRAGMA INDEX_LIST(
Users)
. The sqlite documentation mentioned that PRAGMAs were sqlite specific so I assumed libsql didn't implement or need them but fair enough about turning all Pragmas into no-ops.
I guess that I should open an issue about the reset errors.
never mind about the reset errors. My tests ran through this morning with the PRAGMA no-op in my fork.
I am trying to get turso working with sequelize. I got mostly through the example:
by turning sqlite
PRAGMA
into a noop. Hence the pull request.Unfortunately I am getting reset errors now:
If I repeat the test without cleaning up, I get further and further as though there is just a missing
await
in there somewhere.My sequelize tests, as well as a small adapter are at https://github.com/diy-pwa/cloudflare2sequelize. I am super excited about using sequelize on cloudflare with turso as the database.