[Catalyst] printing the generated SQL

John Goulah jgoulah at gmail.com
Fri Sep 14 14:51:05 GMT 2007


On 9/14/07, Octavian Rasnita <orasnita at gmail.com> wrote:
>
> From: "Paul Rudolf Seebacher" <paul.seebacher at gmx.net>
>
>
> > Octavian Rasnita wrote:
> >> Hi,
> >>
> >> Is it possible to log a certain SQL which is generated in a Catalyst
> >> application by a controller that uses a DBIx::Class model?
> >>
> >> Thank you.
> >>
> >> Octavian
> >>
> >>
> >> _______________________________________________
> >> List: Catalyst at lists.rawmode.org
> >> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> >> Searchable archive:
> >> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> >> Dev site: http://dev.catalyst.perl.org/
> >>
> > This will print out geneerated SQL on debug screen:
> > $ export DBIC_TRACE=3D1
> >
>
> And where should I enter this command line?



Do it in the same shell that you start your catalyst server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070914/2ca16=
e90/attachment.htm


More information about the Catalyst mailing list