]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- merged the "execcontext" branch, refactors engine/dialect codepaths
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Apr 2007 21:36:11 +0000 (21:36 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Apr 2007 21:36:11 +0000 (21:36 +0000)
commitcdceb3c3714af707bfe3ede10af6536eaf529ca8
tree2ccbfb60cd10d995c0309801b0adc4fc3a1f0a44
parent8607de3159fd37923ae99118c499935c4a54d0e2
- merged the "execcontext" branch, refactors engine/dialect codepaths
- much more functionality moved into ExecutionContext, which impacted
the API used by dialects to some degree
- ResultProxy and subclasses now designed sanely
- merged patch for #522, Unicode subclasses String directly,
MSNVarchar implements for MS-SQL, removed MSUnicode.
- String moves its "VARCHAR"/"TEXT" switchy thing into
"get_search_list()" function, which VARCHAR and CHAR can override
to not return TEXT in any case (didnt do the latter yet)
- implements server side cursors for postgres, unit tests, #514
- includes overhaul of dbapi import strategy #480, all dbapi
importing happens in dialect method "dbapi()", is only called
inside of create_engine() for default and threadlocal strategies.
Dialect subclasses have a datamember "dbapi" referencing the loaded
module which may be None.
- added "mock" engine strategy, doesnt require DBAPI module and
gives you a "Connecition" which just sends all executes to a callable.
can be used to create string output of create_all()/drop_all().
24 files changed:
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/databases/firebird.py
lib/sqlalchemy/databases/mssql.py
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/oracle.py
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/databases/sqlite.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/engine/strategies.py
lib/sqlalchemy/engine/url.py
lib/sqlalchemy/logging.py
lib/sqlalchemy/pool.py
lib/sqlalchemy/sql.py
lib/sqlalchemy/types.py
lib/sqlalchemy/util.py
test/engine/reflection.py
test/orm/inheritance5.py
test/orm/mapper.py
test/sql/constraints.py
test/sql/query.py
test/sql/testtypes.py
test/testbase.py