[Dbix-class] How to know what the SQL I have submitted to the database

vti mbit at ukr.net
Mon Dec 18 17:11:54 GMT 2006


On Tue, Dec 19, 2006 at 01:05:22AM +0800, Wan 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!
> 

$ export DBIC_TRACE=1

You should probably read Catalyst::Manual::Tutorial::CatalystBasics.

-- 
vti -- Viacheslav Tikhanovskii
They shall not be ashamed in the evil time: and in the days of famine
they shall be satisfied.
		 -- Psalms 37:19



More information about the Dbix-class mailing list