Is it possible to examine the session and get a list of all mapped
instances that have been changed?

More details:

I would like to implement an observer pattern in my application.  I
would like to let the code make changes to mapped objects as normal,
but immediately before (or after) a session flush() I need to notify
any interested observers that the state in the mapped objects has
changed.  I know I could do this by adding my own attribute state
tracking to the mapped classes, but I was hoping that since SA is
already doing this there may be a way to just make use of SA's change
tracking.

Has anyone done anything like this?

Thanks,
Allen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to