node-db-mysql icon indicating copy to clipboard operation
node-db-mysql copied to clipboard

Feature Request: 'query' event to debug/dump queries executed

Open tautologistics opened this issue 12 years ago • 0 comments

I've started digging into it but having problems getting the event to emit.

Basically, I am looking to dump all queries executed into a log file or on screen; this would be trivial to do if there was a 'query' event on the connection object that would pass the query being executed. This would be very useful for both debugging and profiling.

tautologistics avatar Mar 12 '12 03:03 tautologistics