diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-30 03:10:21 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-30 03:10:21 +0000 |
| commit | 3c19b41b603d53741f1f0e911fbba95c6667a7a3 (patch) | |
| tree | af8c3450b67341f1586fea09ccbdfcef492dd01f /doc | |
| parent | bd13d4ed2eb686c881530bef0e6009bf8fea1cc9 (diff) | |
| download | sqlalchemy-3c19b41b603d53741f1f0e911fbba95c6667a7a3.tar.gz | |
- doc edit
- i have no idea what a SynonymProperty was supposed to be for
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/content/dbengine.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/content/dbengine.txt b/doc/build/content/dbengine.txt index a68b94de5..fdde68fda 100644 --- a/doc/build/content/dbengine.txt +++ b/doc/build/content/dbengine.txt @@ -106,7 +106,7 @@ Example of a manual invocation of `pool.QueuePool` (which is the pool instance u def getconn(): return MySQLdb.connect(user='ed', dbname='mydb') - engine = create_engine('mysql', pool=pool.QueuePool(getconn, pool_size=20, max_overflow=40)) + engine = create_engine('mysql://', pool=pool.QueuePool(getconn, pool_size=20, max_overflow=40)) * pool_size=5 : the number of connections to keep open inside the connection pool. This used with `QueuePool` as well as `SingletonThreadPool` as of 0.2.7. * max_overflow=10 : the number of connections to allow in "overflow", that is connections that can be opened above and beyond the initial five. this is only used with `QueuePool`. |
