You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How it should work:
Call sqhell#Export
This will proxy down to the provider of choice.
We'll need to store the last query executed so we can re-run it and export it. Since we can have multiple windows, to avoid conflicts, we should store the query in a variable that also contains the SQHResult buffer's id.
A MySql version will work like this
:SQHExport -> sqhell#Export() -> mysql#Export()
Runs the current query and appends the following
INTO OUTFILE 'argument from SQHExecute'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
Note that this only works on selects, obviously.
The text was updated successfully, but these errors were encountered:
Could be a potential thing to add
How it should work:
Call
sqhell#Export
This will proxy down to the provider of choice.
We'll need to store the last query executed so we can re-run it and export it. Since we can have multiple windows, to avoid conflicts, we should store the query in a variable that also contains the SQHResult buffer's id.
A MySql version will work like this
:SQHExport
->sqhell#Export()
->mysql#Export()
Runs the current query and appends the following
Note that this only works on selects, obviously.
The text was updated successfully, but these errors were encountered: