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
Run selected script - without opening editor #4738
Comments
|
Any possible milestone? |
|
This is relatively big feature. |
|
Sorry, I was not trying to prioritize the ticket, but just commenting to make sure it was not forgotten. |
I found it by way of the good first issue label. Would you please clarify whether you think it is a good first issue? |
|
A suggestion: I suppose it might be quite easy to implement this as a command line parameter. Just like now you allow to execute tasks (which are very similar in nature to a sql script). |
|
I am only asking to provide a right click file within dbeaver ide and run script, without opening the sql script editing window. I don't think it will clash with EE version. |
|
This is especially useful when working with database dumps, which are usually large in size. If I want to import a db dump in dbeaver I would usually have to wait around 4 to 5 minutes for the editor to load after opening the sql file, only to then wait 4 to 5 minutes more after switching the database on which I would want to import this dump. |
|
Hello, I just tried to make this feature by myself. But I got caught in a cyclic dependency problem. Following is a sequence of my approach: I tried to find a way to execute SQL without 'SQLEditorHandlerExecute' class, but I couldn't make it. Could anyone have better approach to make this feature? Any advice would be appreciated! |
Hi. As i am new to Open Source in general i dont know if this will be Helpful and i do not know if you are still interest in solving this Issue. But i have used Lazy Dependencies in the Past for handling necessary cyclic dependencies. So you only Get the dependency once required. |
Some scripts are very big and editor will take long time to load into UI - for such scripts we save in drive and run them from workbench or some other tool - just by selecting the file and running it without loading it to editor.
Can we get that feature - probably in tools or some relevant location when we right click on the database name - to run the sql file on selected connection/DB instead of opening the file in editor.

Mysql:

The text was updated successfully, but these errors were encountered: