Christopher H. Laco([EMAIL PROTECTED])@Mon, Apr 09, 2007 at 09:29:22AM -0400:
> vti wrote:
> > Hi
> >
> > Is it possible to prefetch only specific columns and not the whole objec?
> >
> > Thanx
> >
>
>
> http://search.cpan.org/dist/DBIx-Class-0.07999_02/lib/DBIx/Class/ResultSet.pm#columns
>
Well, i tried that. But the thing is that when i don't do prefetch literally
and accessing related table it makes a new SQL request even if i specified
those columns in "columns" or "include_columns". And i don't want that.
--
vti -- Viacheslav Tikhanovskii
You can get much further with a kind word and a gun than you can with a
kind word alone.
-- Al Capone
[Also attributed to Johnny Carson. Ed.]
_______________________________________________
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]/