On 22 Jan 2011, at 18:05, Peter Gordon wrote:
> 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


See here: 
http://search.cpan.org/~abraxxa/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Cookbook.pod#Profiling

-ash
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to