summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/json.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-12-12 19:59:11 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-12-12 19:59:11 -0500
commitcf7981f60d485f17465f44c6ff651ae283ade377 (patch)
treeb0301ee05ec7cfd3134eddb751a2257e59b31edf /lib/sqlalchemy/dialects/postgresql/json.py
parent08e02579e03bf37cfc742c549b837841ec8f7ffe (diff)
downloadsqlalchemy-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