On Tuesday, November 17, 2015 at 9:14:51 AM UTC-5, Michael Bayer wrote:
>
>
> conn = session.connection()
> conn.detach()
> conn.execute("set session isolation <whatever>")
>
> < work with connection>
I use this strategy, but without `detatch`. I do this with SqlAlchemy in a
webapp context, so I have a "setup" and cleanup hook.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.