Closed avinassh closed 1 year ago
This might be more appropriately filed on https://github.com/libsql/libsql-shell-go/ since that's the underlying implementation of the shell.
What version of the CLI are you using? Latest right now is 0.80.0. Your sample script works fine for me including the transaction. (interactively transactions don't work, and that I imagine that will not change soon). However, the Turso shell should also generate dump output using a transaction (which it currently does not). I've filed an issue for that: https://github.com/libsql/libsql-shell-go/issues/149
I'll also point out that the error message isn't at all helpful - it is just echoing back the entire contents of the input without saying what's wrong with it. See: https://github.com/libsql/libsql-shell-go/issues/148
Oops, I was on v0.79.0. Updated to 0.80.0:
BEGIN TRANSACTION
and it workssince other issues are being tracked in shell repo, I am closing this.
A user in discord was having issues related to imports, while debugging the issue I noticed a couple of things.
BEGIN TRANSACTION
. We need to inform the user about thisMy sample file generated from SQLite:
when I tried on shell: