On Sun, Jul 08, 2007 at 04:25:15PM +0300, vti wrote:
> Hello.
> 
> Is there any way when using 'prefetch' attribute to specify which columns to
> get from db? Or is there any low-level way to change SQL before doing any
> fetches?

If you set up the select attr yourself with an as of 'relname.colname' the
prefetch mechanism will be kicked in automatically - only works for one-one
rather than one-many prefetch atm though.

-- 
      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]/

Reply via email to