On Tue, Jun 22, 2010 at 12:09:22PM +0200, Imre Horvath wrote:
> Thank you, that's what I've looking for.
> In my case, I only fill details view for one record only, 30-40 columns,
> it's fast enough with one-column queries too.

   Oops, I've forgotten - lazyColumns by itself prevents loading of columns
but when you touch a row SQLObject will load all columns for the row. To
load only one column also set

    class sqlmeta:
        cacheValues = False

> But I wonder if it's possible to override get method to temporary switch
> off lazyColumns?

   No. lazyColumns is taken into account when constructing the row, so it's
meaningless to set it afterwards.

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to