On Tue, Dec 04, 2007 at 10:50:58PM +0100, Petr Jake?? wrote:
> I would like my atributes have actual values from the database in the time
> they are used (called).
> Trying to googling and searching discussion goups for a while, I have found
> following solution:
> 
> class sqlmeta:
>         cacheValues = False
> 
> Is this the only solution how to solve this problem?

   Yes, this is the solution. But you have to understand now every
attribute access results in its own SELECT. I.e. attribute access =>
SQLObject => DB API driver => SQL backend => DB API driver => SQLObject =>
attribute value.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to