dbgate icon indicating copy to clipboard operation
dbgate copied to clipboard

FEAT: Abstracted oopsie handling in query tab

Open ProjectInfinity opened this issue 1 year ago • 0 comments

One feature I noticed from DBeaver which is very nice is the confirmation window when you run a query without a WHERE clause and ask you to confirm it.

I think it's a good idea that dbgate has the same feature, however dbgate supports a truckload of drivers. It would need to be abstracted so each driver could implement its own version of it since for example Redis has pitfalls that SQL based solutions do not or vice versa.

Additionally in the context of SQL it is possible to run a select count on the same parameters to determine how big a update or delete could be and thus alerting you to it before you confirm that you indeed wish to do that.

So the question is, if to be implemented, where would be the appropriate place and what would it look like?

ProjectInfinity avatar Jun 17 '23 02:06 ProjectInfinity