turso-cli
turso-cli copied to clipboard
Should shell `.dump` use a transaction?
sqlite3 .dump
wraps the entire SQL output (after PRAGMA foreign_keys=OFF;
) in BEGIN TRANSACTION;
and COMMIT;
. Turso's shell does not. Should it? That would defend against a partial set of statements from executing in the face of an error part way through.
Duplicate of https://github.com/libsql/libsql-shell-go/issues/75.