I'd like to modify queries that are going to the database in a programmatic way without modifying code throughout the whole application. Specifically, I want to put call stack information in a SQL comment so that they'll show up in the DB's logs. This means I can't use some external proxy to modify the queries because it won't know what line of code the query came from.
Is this possible? Is it easy to do with a DBI subclass or some such? Is a module to do this already written?
In reply to Can DBI modify queries on the fly? by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |