symfony/symfony — Issue #2930: [WebProfilerBundle] allow copying the SQL query with params to clipboard
Author: Tobion
Created: 2011-12-20 13:52:59+00:00
State: open

I had an idea for a nice-to-have feature.
When you want to analyze database queries you often need to copy them and e.g. use explain to see the query execution plan.
The problem is that you cannot simply copy and execute them because the parameters are not included.
So I would suggest to add a simple button that replaces the placeholders with the parameters and copies the SQL to the clipboard via javascript.
What do you think?