diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-12-12 19:59:11 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-12-12 19:59:11 -0500 |
commit | cf7981f60d485f17465f44c6ff651ae283ade377 (patch) | |
tree | b0301ee05ec7cfd3134eddb751a2257e59b31edf /lib/sqlalchemy/dialects/postgresql/json.py | |
parent | 08e02579e03bf37cfc742c549b837841ec8f7ffe (diff) | |
download | sqlalchemy-cf7981f60d485f17465f44c6ff651ae283ade377.tar.gz |
- Added new method :meth:`.Session.invalidate`, functions similarly
to :meth:`.Session.close`, except also calls
:meth:`.Connection.invalidate`
on all connections, guaranteeing that they will not be returned to
the connection pool. This is useful in situations e.g. dealing
with gevent timeouts when it is not safe to use the connection further,
even for rollbacks.
references #3258
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions