On 12/18/06, Wan <[EMAIL PROTECTED]> wrote:
For debug, I want to know the SQL I have submitted to the database, in
search create update and other

Thanks for any help!


Try setting the environment variable DBIC_TRACE, as documented here:

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

-- Brandon

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to