Commit Graph

16 Commits

Author SHA1 Message Date
Mike Bayer cc0e7c796f - string-based query param parsing/config file parser understands
wider range of string values for booleans [ticket:817]
2007-10-16 21:33:21 +00:00
Jason Kirtland 3d9d21cc14 Extended 'engine_from_config' coercion for QueuePool size / overflow. [ticket:763]
Added a set of coercion tests.
2007-08-29 23:17:36 +00:00
Mike Bayer d3917532bc - tightened down the screws on logging a little bit 2007-08-22 18:08:10 +00:00
Jason Kirtland fba14f6047 from foo import (name, name) isn't valid syntax for 2.3. ah well.
omitting modules from sqlalchemy.__all__...
2007-08-21 22:20:52 +00:00
Mike Bayer 0285ec6beb added engine_from_config() function for helping to create_engine()
from an .ini style config
2007-08-14 00:40:23 +00:00
Mike Bayer 33fa7019fb - removed auto_close_cursors and disallow_open_cursors arguments from Pool;
reduces overhead as cursors are normally closed by ResultProxy and Connection.
2007-07-29 00:42:49 +00:00
Mike Bayer ed4fc64bb0 merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to maintenance branch in branches/rel_0_3. 2007-07-27 04:08:53 +00:00
Mike Bayer a74232c70c - added 'url' attribute to Engine
- added docstring to 'echo' attribute
2007-04-29 16:56:11 +00:00
Mike Bayer aabb6e530b - the dialects within sqlalchemy.databases become a setuptools
entry points. loading the built-in database dialects works the
same as always, but if none found will fall back to trying
pkg_resources to load an external module [ticket:521]
2007-04-17 20:49:35 +00:00
Mike Bayer fb1c544e81 added mockdbapi to mysql dialect create to better help unit tests pass 2007-02-04 19:10:07 +00:00
Mike Bayer ecee1fb16c - create_engine() reworked to be strict about incoming **kwargs. all keyword
arguments must be consumed by one of the dialect, connection pool, and engine
constructors, else a TypeError is thrown which describes the full set of
invalid kwargs in relation to the selected dialect/pool/engine configuration.
2006-11-12 20:50:51 +00:00
Mike Bayer 46dcf1fa5d doc edits, moved object display in uowdumper to be hex, fixed test runner in parseconnect 2006-09-25 16:22:32 +00:00
Mike Bayer 8260ca2723 - 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]
2006-08-25 16:27:10 +00:00
Mike Bayer a8d1aecfab - urls support escaped characters in passwords [ticket:281] 2006-08-22 18:58:01 +00:00
Mike Bayer 55edd4ce95 adjument to regexp for parsing courtesy Barry Warsaw 2006-07-10 21:33:03 +00:00
Mike Bayer 120dcee5a7 reorganized unit tests into subdirectories 2006-06-05 17:25:51 +00:00