[storm] Getting changes applied to an object to build an history

Vincent Alquier vincent.alquier at gmail.com
Thu Oct 20 17:25:07 UTC 2011


First of all, sorry for my approximate english...

For a project I am currently working on, I am trying to migrate from a
homemade ORM to storm. One of my needs is to get all changes applied
to an object on flush. The goal is to fill an history table with any
changes.

Is it safe to call Store._get_changes_map into the __storm_pre_flush__
hook ? And then, to save the changes into the __storm_flushed__ hook ?

--
Vincent Alquier
vincent.alquier at gmail.com



More information about the storm mailing list