-
Notifications
You must be signed in to change notification settings - Fork 85
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
calling a favorite from within a favorite #101
Comments
Thanks for your feedback. The current design is that the favorite query should be a SQL query. Could you please explain why you need this? The example above doesn't make sense to me, since you can just run |
That wasn't a very good example indeed. e.g. q1 = 'SELECT id FROM database WHERE id = "$1" ' Consider that I have some rather long recursive queries in favorites that I would like to display with some other favorite queries like in the above example so repeatedly typing \f ... ; \f .... ; ...; to see combined results gets tiresome. It would spare typing arguments several times and so on . Yes I can do the concatenations inside the queries themselves and clone queries several time but I thought that this feature can come handy and add to versatility. |
Thanks for the detailed explanation. I understand why you need this feature, but I hesitate to add it to Hi @amjith, what do you think about this feature? |
I thought maybe you can do instead shell-like "aliases" so the entire set of litecli commands can be mixed together and called at once via a nickname. This would allow for example setting a specific table format before viewing a result of a favorite query, or set a custom pager or prompt. As of right now using backslash-commands in favorites results in |
I would like to call another favorite from one favorite. i.e.
but I get:
Can this be done ?
The text was updated successfully, but these errors were encountered: