Skip to content

Feature/multi drop - #4240

Open
deepsidhu1313 wants to merge 3 commits into
sqlitebrowser:masterfrom
deepsidhu1313:feature/multi-drop
Open

deepsidhu1313 wants to merge 3 commits into
sqlitebrowser:masterfrom
deepsidhu1313:feature/multi-drop

Conversation

@deepsidhu1313

@deepsidhu1313 deepsidhu1313 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor
  • Triggers, indexes, views and tables are dropped in this order so that dropping a table never makes a later drop of one of its own indexes or triggers fail. Includes a test which executes the generated statements against an in-memory SQLite database.
  • When more than one table, view, index or trigger is selected in the Database Structure tab, Delete Object now lists all of them in a single confirmation and drops them inside one save point. Dependants are dropped first, and if any statement fails everything is rolled back. Deleting a single object behaves as before.

Triggers, indexes, views and tables are dropped in this order so that
dropping a table never makes a later drop of one of its own indexes or
triggers fail. Includes a test which executes the generated statements
against an in-memory SQLite database.
When more than one table, view, index or trigger is selected in the
Database Structure tab, Delete Object now lists all of them in a single
confirmation and drops them inside one savepoint. Dependants are dropped
first, and if any statement fails everything is rolled back. Deleting a
single object behaves as before.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants