We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to write a bash script to extract some data from the database in csv format and typically I would do this as
sqlite3 my.db ".mode csv" ".headers on" "$sql_query"
Unfortunately, this doesn't work using the turso CLI (Error: accepts between 1 and 2 arg(s), received 3)
turso db shell my-db ".mode csv" "$sql_query"
reported here: https://discord.com/channels/933071162680958986/1193507982076547082/1193507982076547082
The text was updated successfully, but these errors were encountered:
Could this be done by adding a new flag? Example like a --query-cmds flag followed by a list of strings/commands
--query-cmds
turso db shell my-db --query-cmds ".mode csv" ".head on" "$sql_query"
Sorry, something went wrong.
No branches or pull requests
I am trying to write a bash script to extract some data from the database in csv format and typically I would do this as
Unfortunately, this doesn't work using the turso CLI (Error: accepts between 1 and 2 arg(s), received 3)
reported here: https://discord.com/channels/933071162680958986/1193507982076547082/1193507982076547082
The text was updated successfully, but these errors were encountered: