On Fri, Jun 15, 2007 at 04:39:11PM -0400, Steve Francia wrote:
> Doing some reading on DBIx::Class, I came across the following:
> http://www.gossamer-threads.com/lists/catalyst/users/3095
>
> > * Column values maybe "lazily loaded," meaning that are fetched from
> > the database at the last possible moment rather then being loaded up
> > front.
>
> Does this apply to relationships? eg.
> Can DBIC lazily instantiate the related objects?
Already done.
> Can DBIC lazily fetch the related ids?
Yes thanks.
> For performance and scalability, such features would be very desirable..
> If DBIC doesn't currently support it, would anyone be interested in
> joining me it writing a patch for it?
>
Only if it comes with benchmarks that show our current approach is less
performant.
Class::DBI spent a lot of runtime fetching columns on the fly; DBIC expects
you to specify more up front but drops a lot of costly checks as a result.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
_______________________________________________
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]/