I'm writing simple glue layer between Whoosh and SQLAlchemy, the idea is that session event system reflects update of search index in whoosh (using celery).
Looking at versioning example, it relies on before_flush event and make a snapshot. I need something similar, probably more complex. Here are the questions: - how to handle exceptions and rollbacks for changes done in before_flush - does before_flush also handle bulk updates/deletes - how to distinct new objects from existing in db (from session state) - maybe before_flush is not the best event? Thanks, Domen -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. 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.
