[Catalyst] printing the generated SQL

Paul Rudolf Seebacher paul.seebacher at gmx.net
Fri Sep 14 11:45:57 GMT 2007


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=1



More information about the Catalyst mailing list