diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-11-30 12:55:26 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-11-30 12:55:26 -0500 |
commit | 954aafa0645f6e1ccbcfdc358a9f2930a24461a4 (patch) | |
tree | 4690d622ec7d6388e3f469ea7adeb7ae5bfba778 | |
parent | 38e043a475db210143c46588fca70838c9c47c8a (diff) | |
parent | 0438065a20f32e729e2f865c381bd92b8a5f6592 (diff) | |
download | sqlalchemy-954aafa0645f6e1ccbcfdc358a9f2930a24461a4.tar.gz |
Merge remote-tracking branch 'origin/pr/217'
-rw-r--r-- | doc/build/core/pooling.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/core/pooling.rst b/doc/build/core/pooling.rst index 094eff4c4..f9384fd60 100644 --- a/doc/build/core/pooling.rst +++ b/doc/build/core/pooling.rst @@ -257,7 +257,7 @@ best way to do this is to make use of the # run a SELECT 1. use a core select() so that # the SELECT of a scalar value without a table is # appropriately formatted for the backend - connection.scalar(select[1]) + connection.scalar(select([1])) except exc.DBAPIError as err: # catch SQLAlchemy's DBAPIError, which is a wrapper # for the DBAPI's exception. It includes a .connection_invalidated |