[Dbix-class] Re: Caching DBIx-Class Fixtures
Matt S Trout
dbix-class at trout.me.uk
Sun Jul 20 00:12:32 BST 2008
On Wed, Jun 18, 2008 at 03:03:37PM +0100, Ovid wrote:
> --- Dagfinn Ilmari Mannsåker <ilmari at ilmari.org> wrote:
>
> > Ovid <publiustemp-dbic at yahoo.com> writes:
> >
> > > So I guess this all goes back to my original question: when I'm
> > > running DBIx::Class, is there any way I can trap the SQL and bind
> > > parameters used so I can potentially cache them?
> >
> > Yes, see
> > <http://search.cpan.org/perldoc?DBIx::Class::Storage#debugobj>
>
> Thanks. That works great :)
I'd love to see this done up as an extension or core feature for ::Fixtures.
Or even populate() somehow, so it's trivial to write any bulk loading
operation out as a script?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the DBIx-Class
mailing list