This is what I was thinking, but can you switch, on the fly, between
lazy and non-lazy updates?

The docs say that you can specify when defining your class that you want
lazy updates (the default being non-lazy).

I suppose you could change the class definition before instantiating the
instance, or you could perhaps change the class definition through the
instance.  Either way it seems monkey-patchish/hackish.  But it could be
a solution.

Hope this helps,
Krys

Leandro Lucarella wrote:
> [EMAIL PROTECTED], el martes 15 de noviembre a las 12:54 me escribiste:
> 
>>the .set() method ?
>>
>>But I don't think we can control the update. Seems to me that the lazy
>>only controls if the update is immediate, but not "controllable". lazy
>>in the sense of "I would do it when I want".
> 
> 
> You can explicitly say when you want to update: .sync() .syncUpdate()
> Al least if the documentation is not outdated:
> http://www.sqlobject.org/SQLObject.html#lazy-updates
> 

Reply via email to