Hi All,
If I have a session object, what's the correct way to get the name of
the db that session is attached to?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are
On 15/06/2011 10:48, Chris Withers wrote:
Hi All,
If I have a session object, what's the correct way to get the name of
the db that session is attached to?
session.bind.url.database
...looks like what I want. Is it legit to use that?
cheers,
Chris
--
Simplistix - Content Management, Batch
-Original Message-
From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com]
On Behalf Of Chris Withers
Sent: 15 June 2011 10:48
To: sqlalchemy@googlegroups.com
Subject: [sqlalchemy] db name from session?
Hi All,
If I have a session object, what's the correct way