]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- cleanup on connection methods + documentation. custom DBAPI
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Aug 2006 16:27:10 +0000 (16:27 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Aug 2006 16:27:10 +0000 (16:27 +0000)
commit8260ca2723ab3b08339ec9273fa729f70862fdf3
tree8b32cc35e8b63a16eb55e5f136888cba5d4356ea
parent367e3b61a1031e51ffd13acbc71245088f5ed15a
- cleanup on connection methods + documentation.  custom DBAPI
arguments specified in query string, 'connect_args' argument
to 'create_engine', or custom creation function via 'creator'
function to 'create_engine'.
- added "recycle" argument to Pool, is "pool_recycle" on create_engine,
defaults to 3600 seconds; connections after this age will be closed and
replaced with a new one, to handle db's that automatically close
stale connections [ticket:274]
CHANGES
doc/build/content/dbengine.txt
doc/build/content/pooling.txt
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/engine/strategies.py
lib/sqlalchemy/pool.py
test/engine/parseconnect.py
test/engine/pool.py
test/testbase.py