diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-24 18:13:21 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-24 18:13:21 +0000 |
| commit | 9806d81675ef62363753a028ada43bc460728cf5 (patch) | |
| tree | a563783652ea5e6dde90a17aa095be1529bbc00f /lib/sqlalchemy/engine/base.py | |
| parent | 72d1cbadde4619264cc795800af3859a52c2794c (diff) | |
| download | sqlalchemy-9806d81675ef62363753a028ada43bc460728cf5.tar.gz | |
- the "threadlocal" engine has been rewritten and simplified
and now supports SAVEPOINT operations.
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
| -rw-r--r-- | lib/sqlalchemy/engine/base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 2f26add6b..26d1b69d9 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -765,7 +765,7 @@ class Connection(Connectable): return self.engine.Connection( self.engine, self.__connection, _branch=self.__branch, _options=opt) - + @property def dialect(self): "Dialect used by this Connection." @@ -1026,7 +1026,8 @@ class Connection(Connectable): conn.close() self.__invalid = False del self.__connection - + self.__transaction = None + def scalar(self, object, *multiparams, **params): """Executes and returns the first column of the first row. |
