On Fri, Apr 14, 2006 at 11:33:07PM -0400, David Geller wrote:
> b. However, whenever you do something like rec.element, in order to 
> reference a single element from a previously obtained record, the system 
> will issue *another* db request to re-fetch the value for the column (in 
> this case, "element") for that record.
> 
> This is *not* what is desired.

   This is how cacheValues=False works.

> That is, if I fetch an entire record from a fresh db request, for 
> subsequent accessing of individual attributes of that record, I *do not* 
> want db requests to be made.

   Then set cacheValues=True.

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to