Kent
13 years ago
You've mentioned multiple times (to me and others) that some operations,
such as reaching across relationships or loading relationships from within
a before_update Mapper event is not safe.
- I understand this is safe from within Session event before_flush(),
correct?
- We mentioned at some point adding a Mapper level "before_flush()"
event. To avoid duplicate work, has that been done?
- I presume that other queries, particularly those with
populate_existing() are also unsafe from within before_update? Are such
safe from before_flush()?
such as reaching across relationships or loading relationships from within
a before_update Mapper event is not safe.
- I understand this is safe from within Session event before_flush(),
correct?
- We mentioned at some point adding a Mapper level "before_flush()"
event. To avoid duplicate work, has that been done?
- I presume that other queries, particularly those with
populate_existing() are also unsafe from within before_update? Are such
safe from before_flush()?
--
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/21Y9d4mkEPsJ.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to sqlalchemy+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sqlalchemy/-/21Y9d4mkEPsJ.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to sqlalchemy+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.