-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
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
Feature: Export query result as CSV #181
Comments
It would be nice to have this built as an explicit function (UI trigger) but for now you can simply wrap your query like the following and it will render the csv output into the result pane: |
Hi, could you please explain how to wrap it? It doesn't seem to be a valid query. |
Sure, the |
Thank you for your kind explanations! After searching around, I found that MySQL does not have a function to output CSV content to stdout. Additionally, INTO OUTFILE requires FILE access, which I don't have. As a result, I ended up converting the .dbout file to a CSV file manually using a Python script. |
Something I've noticed in my workflows is the frequent need to export data for others to visualize, although the default query result table is very readable inside a nowrap buffer, it becomes unintelligible when sent to others.
A useful feature for me would be the ability to convert query output into common plaintext formats, such as CSV, and then visualize or save it.
The text was updated successfully, but these errors were encountered: