antares icon indicating copy to clipboard operation
antares copied to clipboard

Add option store queries (maybe per database?)

Open D-nov opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. Yes, now I have to retype my queries :D

Describe the solution you'd like Add a sidebar with saved queries so I can find and just run a previously saved query instead of retyping it. This would be good to have the option to save it per database so there would be less variables to rename before exequting it.

D-nov avatar Jul 25 '22 12:07 D-nov

I think queries tabs should persist by default. E.g. if I do some stuff in a Query #1, close antares, and open it again, then there should be a way to re-open Query #1 with all what's left when I closed it.

Unless any work I didn't put into DB is lost every time, which is really annoying.

DataGrip does it exactly right I think.

KazimirPodolski avatar Jun 26 '23 17:06 KazimirPodolski

I think queries tabs should persist by default. E.g. if I do some stuff in a Query #1, close antares, and open it again, then there should be a way to re-open Query #1 with all what's left when I closed it.

Unless any work I didn't put into DB is lost every time, which is really annoying.

DataGrip does it exactly right I think.

By now query tabs are persistent (if not disabled in settings) with last query executed on it.

What do you mean by lost work? Can you give me an example?

Fabio286 avatar Jun 26 '23 17:06 Fabio286

I was thinking the same... Isn't this already implemented ?

D-nov avatar Jun 26 '23 17:06 D-nov

By now query tabs are persistent (if not disabled in settings) with last query executed on it.

What do you mean by lost work? Can you give me an example?

Oh, so this is what restore session setting does. But it's still not fully persistent query tabs.

The idea is you make a query tab e.g. "Query 10" and type something there e.g.

SELECT * FROM users;

Let's say you closed the tab and/or the app. You still should have a way to reopen the "Query 10" with the latest state.

Unless the only reliable place to put work between workdays is the DB.

KazimirPodolski avatar Jun 26 '23 19:06 KazimirPodolski

I just installed Antares and it's perfect, the only thing missing is this save query feature.

For example, I manage many databases, and each database has a different query, there is no way I can leave it in open tabs because there would be many, if I could save the tabs and resume them, that would be great.

curruwilla avatar Oct 29 '23 16:10 curruwilla