[sqlalchemy] Database trigger and version_id_generator

2012-07-19 Thread Tim
I would like to use the version_id_col feature. However, our version_id_col is updated by a database trigger and I do not want SQLAlchemy to try to set this value. Is there a way to do this? -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To view

Re: [sqlalchemy] Database trigger and version_id_generator

2012-07-19 Thread Michael Bayer
you can pass a version_id_generator that returns None, but I would think you wouldn't even need that - just have the trigger set the version id unconditionally. On Jul 19, 2012, at 8:00 AM, Tim wrote: I would like to use the version_id_col feature. However, our version_id_col is updated by