Get log of the executed query when edit/delete data on the result set

2.5k Views Asked by At

I'm using DataGrip-2017.2.3 and unable to find the log/history of the executed query on the result data set

1

There are 1 best solutions below

2
On

If you need to see which particular query was run to get this result, click on gear icon and choose View Query.

enter image description here

Just for you to know about query logs:

  1. In the Output tab there is a log of what you were running in this console. If you update data in the grid, the update queries will appear here as well.
  2. On the toolbar of every console there is a small icon with a clock. It is a log of all queries to the data source.
  3. Help | Show SQL Log... will lead you to the file where all queries from DataGrip are stored. But it works from 2018.2, so I advice you to use up-to-date version always.