vscode-sqlite
vscode-sqlite copied to clipboard
Add command for drop & create query in explorer.
CHANGES:
- Saves the table/view definition when the database is loaded.
- Added a command to explorer items menus to generate a query with "DROP" statement followed by the original "CREATE" statement saved when the database is loaded.
Hi @jeffesp! Thanks for the contribution! Can you separate the DROP query and the CREATE query in two different commands as suggested in #145?
I find this form more useful, but will update if that's what gets the patch merged. This was more scratching my own itch than addressing a particular bug.
I see, can I ask you how you use the generated DROP&CREATE query? Do you generate it and then just run it or do you copy and paste it on other code or something else?
Generally, I generate it and then I edit it and run it. This is useful when working on a VIEW as it just drops and creates the thing that I was editing.