Source: blog.jetbrains.com

Query Book in DataGrip
People often ask us: – Do you have a query book? I want to store them and to be able to call any of them when I want.

They include a mechanism for variables, so your template can be more generic than the query you are going to run.

This is how you run the query when you need it: The file can only be attached to one session, so if you need to switch sessions or data sources, please do so manually.

There is no need to switch sessions or data sources every time you run the query: it is set for the file, which is to say, for the query.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners