should any other ORM-based operation such as :class:`.Session.add`
take place here. Attribute changes on objects that were
already flushed will be discarded, and changes to the flush
- plan will also not take place. Use :meth:`.Session.before_flush`
+ plan will also not take place. Use :meth:`.SessionEvents.before_flush`
to change the flush plan on flush.
:param mapper: the :class:`.Mapper` which is the target
should any other ORM-based operation such as :class:`.Session.add`
take place here. Attribute changes on objects that were
already flushed will be discarded, and changes to the flush
- plan will also not take place. Use :meth:`.Session.before_flush`
+ plan will also not take place. Use :meth:`.SessionEvents.before_flush`
to change the flush plan on flush.
:param mapper: the :class:`.Mapper` which is the target
should any other ORM-based operation such as :class:`.Session.add`
take place here. Attribute changes on objects that were
already flushed will be discarded, and changes to the flush
- plan will also not take place. Use :meth:`.Session.before_flush`
+ plan will also not take place. Use :meth:`.SessionEvents.before_flush`
to change the flush plan on flush.
:param mapper: the :class:`.Mapper` which is the target