[Dbix-class] Displaying SQL statements

Peter Gordon peter at pg-consultants.com
Sat Jan 22 18:05:26 GMT 2011


I would like to be able to see the equivalent sql/bind values that are
being sent to the database, just to ensure that everything is working
properly and for debugging purposes.

I can add my own log statements to _dbh_execute in
DBIx/Class/Storage/DBI.pm, but I would like to know if there is a formal
way of doing this.

Thanks,

Peter







More information about the DBIx-Class mailing list