tursodatabase / libsql-shell-go

7 stars 7 forks source link

Add transactions to .dump command #75

Open StefanoSaffran opened 1 year ago

StefanoSaffran commented 1 year ago

At the moment our .dump command is not wrapped in a transaction like the SQLite command.

image

luisfvieirasilva commented 1 year ago

Adding context here. We can only do this if we block HTTP/HTTPS connections, since they don't accept interactive transactions yet and that would break if user saves this dump into a file and read with .read command. Right now we can't drop HTTP/HTTPS support because turso-cli is using it

luisfvieirasilva commented 1 year ago

Update: @CodingDoug found the same problem here #117