Is your feature request related to a problem? Please describe.
I really like the query shortcut feature, I just think that adding the selected text at the end of the query is not enough. For example, one query that I run a lot is select * from table order by 1 desc. I use that query to see recent records that I've added to a table. Currently, there is no way to set up a query shortcut that inserts the text selection anywhere in the query.
Describe the solution or feature you'd like
I'd like to have a keyword, for example {arg}, that will get replaced by the selected text whenever I use the shortcut query.
Describe alternatives you've considered
An alternative can be creating an sp that receives the table name as a parameter. But that might not be efficient if you deal with many client databases.
Is your feature request related to a problem? Please describe. I really like the query shortcut feature, I just think that adding the selected text at the end of the query is not enough. For example, one query that I run a lot is
select * from table order by 1 desc
. I use that query to see recent records that I've added to a table. Currently, there is no way to set up a query shortcut that inserts the text selection anywhere in the query.Describe the solution or feature you'd like I'd like to have a keyword, for example
{arg}
, that will get replaced by the selected text whenever I use the shortcut query.Describe alternatives you've considered An alternative can be creating an sp that receives the table name as a parameter. But that might not be efficient if you deal with many client databases.
Additional context