Hi,

On Sat, Jan 22, 2011 at 6:15 PM, Ash Berlin <ash_c...@firemirror.com> wrote:
> 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.
>
> See here: 
> http://search.cpan.org/~abraxxa/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Cookbook.pod#Profiling

I think this would be enough though:

http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/Storage.pm#ENVIRONMENT_VARIABLES

Bye,
-- 
Pedro Melo
http://www.simplicidade.org/
xmpp:m...@simplicidade.org
mailto:m...@simplicidade.org

_______________________________________________
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/dbix-class@lists.scsys.co.uk

Reply via email to