[storm] Before commit checking

Gustavo Niemeyer gustavo at niemeyer.net
Tue Sep 23 21:47:07 BST 2008


Hello Gerdus,

> Is there a way to run a validation function before committing in
> storm? I tried to implement it by sub classing Store but could not
> figure out how to get a list of objects that will be affected by the
> commit. The use I have is I have a main GlTrans object with GlEntries
> and the GlEntries debits and credits should balance.

Not before committing.  There are pre-flush hooks, though.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the storm mailing list