vti([EMAIL PROTECTED])@Mon, Apr 09, 2007 at 04:38:24PM +0300:
> 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.
> 
> 

Oops. I'm sorry, that works just fine :(

Thanx for the patience.

-- 
vti -- Viacheslav Tikhanovskii
With gladness and rejoicing shall they be brought: they shall enter into
the king's palace.
                 -- Psalms 45:15

_______________________________________________
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