On Mon, Apr 04, 2005 at 10:53:05AM -0400, Jim Fulton wrote: > Sometimes, applications want to execute some code when > a transaction is committed. For example, one might want to > delay object indexing until a transaction commits, rather > than indexing every time an object is changed. Or, someone > might want to check invariants only after a set of operations.
+1. The IndexedCatalog Shelf, for instance, does exactly this, flushing the cached changes into the index when shelf.commit() is called. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331 _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev