willChange - under the hood

Tom Hallman <[email protected]> Fri, 20 Feb 2004 10:18:29 -0500
Newsgroups gmane.comp.python.modeling
Message-ID <[email protected]>
Greetings!

   I am just about to start doing some work with Modeling, and I'm very 
excited about its capabilities! It looks very promising, to say the least.

   One question I have is on what "willChange" actually does. As I 
understand it, Modeling captures a single "snapshot" of some fetched rows 
(objects), and whenever "willChange" is called on a particular object's 
attribute, that attribute is made "dirty", such that when "ec.saveChanges()" 
is called, only "dirty" attributes get updated. Is this accurate?

   Thanks in advance for any insight.

~Tom

___________________________________________________________
Tom Hallman                             DiscipleMakers, Inc
[email protected]                 http://www.dm.org/~hallmant
531 Brittany Dr * State College * PA * 16803 * 814-861-4591
Go therefore and make disciples of all nations (Matt 28:19)


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click