~ubuntu-branches/debian/jessie/sqlalchemy/jessie

« back to all changes in this revision

Viewing changes to doc/_sources/core/pooling.txt

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski, Jakub Wilk, Piotr Ożarowski
  • Date: 2013-07-06 20:53:52 UTC
  • mfrom: (1.4.23) (16.1.17 experimental)
  • Revision ID: package-import@ubuntu.com-20130706205352-ryppl1eto3illd79
Tags: 0.8.2-1
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

[ Piotr Ożarowski ]
* New upstream release
* Upload to unstable
* Build depend on python3-all instead of -dev, extensions are not built for
  Python 3.X 

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
Connection Pool Configuration
25
25
-----------------------------
26
26
 
27
 
The :class:`~.engine.base.Engine` returned by the
 
27
The :class:`~.engine.Engine` returned by the
28
28
:func:`~sqlalchemy.create_engine` function in most cases has a :class:`.QueuePool`
29
29
integrated, pre-configured with reasonable pooling defaults.  If
30
30
you're reading this section only to learn how to enable pooling - congratulations!
127
127
    cursor.execute("select foo")
128
128
 
129
129
The purpose of the transparent proxy is to intercept the ``close()`` call,
130
 
such that instead of the DBAPI connection being closed, its returned to the
 
130
such that instead of the DBAPI connection being closed, it's returned to the
131
131
pool::
132
132
 
133
133
    # "close" the connection.  Returns