[sqlalchemy] Re: How to get a Engine or Connection from Session?

2017-08-05 Thread Jinghui Niu
That's it! Thanks! On Saturday, August 5, 2017 at 3:15:28 PM UTC-7, Jonathan Vanasco wrote: > > > http://docs.sqlalchemy.org/en/latest/orm/session_api.html#sqlalchemy.orm.session.Session.connection > > > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper

[sqlalchemy] Re: How to get a Engine or Connection from Session?

2017-08-05 Thread Jonathan Vanasco
http://docs.sqlalchemy.org/en/latest/orm/session_api.html#sqlalchemy.orm.session.Session.connection -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See

Re: [sqlalchemy] Re: How to get a Engine or Connection from Session?

2017-08-05 Thread Jinghui Niu
But it's not for returning a connection object? On Aug 5, 2017 1:51 PM, "Ruben Di Battista" wrote: > session.bind? > > On Saturday, August 5, 2017 at 2:36:53 PM UTC+2, Jinghui Niu wrote: >> >> Is there a way to get the currently binding Engine or Connection from a >>