Is it safe to issue expression-based SQL in the after_insert / after_update
methods of a mapper extension using the connection object passed to the
extension method?

I've got sort of strange requirement of a row with a self-referential FK
that needs to be populated on insert, and I'm trying to do it with a single
flush() and so reuse the same connection and within the same transaction.

It seems to work fine, but wanted to know if this might be a risky thing to
do...

Rick

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to