-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Saving/loading SQL queries from Execute SQL/Update SQL dialogs #60738
Conversation
Adds a toolbar to the Execute SQL window, with common actions for cut/copy/paste/undo/redo/toggle find/clear This matches the UI for the Execute SQL dialog to other similar QGIS dialogs, eg the Processing script editor dialog
This adds support for saving and loading SQL queries to a .sql text file to the Execute SQL dialog and Update SQL dialogs. Effectively, it ports this functionality from the DB Manager plugin over to the core browser-based database connection facilities. The UX has been designed to mimic the same functionality from other standard parts of QGIS, eg the Processing Script Editor. Toolbar actions are used accordingly, instead of the old text button approach used in DB Manager. Sponsored by City of Canning
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
@nyalldawson |
This adds support for saving and loading SQL queries to a .sql text file to the Execute SQL dialog and Update SQL dialogs.
Effectively, it ports this functionality from the DB Manager plugin over to the core browser-based database connection facilities.
The UX has been designed to mimic the same functionality from other standard parts of QGIS, eg the Processing Script Editor. Toolbar actions are used accordingly, instead of the old text button approach used in DB Manager. To accompany the new toolbar I've also added standard actions for operations like copy/paste/undo/redo, again mimicing the Processing Script Editor dialog UI
Sponsored by City of Canning