Class update detection

Lars Heuer python at quixs.com
Mon May 10 15:58:20 EDT 2004


Hi Axium,

[...]
> this information will be accessible from a UI.  The problem I am running
> into is when the user is done working in the UI I need to determine if
> any of the class attributes have been changed to I can issue an update
> query to the database with the changes.  Is there a generally accepted
[...]

I.e. SQLObject (and other ORMs, too) does this job. If you update a
class attribute, it automatically updates the underlying DB tables.
http://sqlobject.org/


Best regards,
Lars





More information about the Python-list mailing list