On Jun 20, 12:45 am, "Can Xue" <[EMAIL PROTECTED]> wrote: > I'm working in a GUI project and use the SQLAlchemy for ORM. > Can anyone tell me how to catch a attribute changed event in > SQLAlchemy so that application can update the UI automaticly. > Thank you. > > -- > XUE Can
This may be more of a Python question, because it is not specifically related to data persistence. Mapper Extensions: http://www.sqlalchemy.org/docs/adv_datamapping.html#advdatamapping_extending can help if you want to catch a hook before a class instance is updated in the database. But if you want to catch the moment when the attribute is changed in memory, consider the possibility that this is not in sqlalchemy's scope. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---