Skip to content
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

Transaction modes support #660

Open
shiro opened this issue Aug 13, 2022 · 3 comments
Open

Transaction modes support #660

shiro opened this issue Aug 13, 2022 · 3 comments

Comments

@shiro
Copy link

shiro commented Aug 13, 2022

IntelliJ has this really nice way of setting the transaction mode, committing on the DB if the mode is "auto" (like what you're doing in the extension) and wrapping it in a transaction if set to "manual", so it can be rolled back or committed by the developer using the buttons.

This is useful for testing if a query is working/testing on a virtually modified dataset without actually updating the DB.

Screenshot_20220813_092856

Thanks for the awesome extension!

@cweijan
Copy link
Owner

cweijan commented Aug 13, 2022

Thanks for your feedback, but sorry I don't plan to provide support for transactions, this feature is useless for most people, once transactions are supported, I have to add a new button on the toolbar of the results page, which will cause the toolbar are very messy(Too many buttons now).

@shiro
Copy link
Author

shiro commented Aug 13, 2022

Understandable, thanks for the clarification. 👍

@shiro shiro closed this as completed Aug 13, 2022
@cweijan cweijan reopened this Aug 13, 2022
@DaniRey
Copy link

DaniRey commented Mar 26, 2024

As a workaround users can manually start a transaction in a "Query".

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants