]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- mxodbc can use default execute() call
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Mar 2010 00:58:46 +0000 (20:58 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Mar 2010 00:58:46 +0000 (20:58 -0400)
commit55367ac4a26dbc3c0e57783c3964cd5c42647a35
tree9816d2cfc0159a6abd2a472572af3fd0e31f2a29
parent811ece13974504685e1e2add7c91b2b88d213322
- mxodbc can use default execute() call
- modified SQLCompiler to support rendering of bind parameters as literal
inline strings for specific sections, if specified by the compiler
subclass, using either literal_binds=True passed to process() or any visit
method, or by setting to False the "binds_in_columns_clause" flag for SQL-92
compatible columns clauses..  The compiler subclass is responsible for
implementing the literal quoting function which should make use of the DBAPI's native
capabilities.
- SQLCompiler now passes **kw to most process() methods (should be all,
ideally) so that literal_binds is propagated.
- added some rudimentary tests for mxodbc.
lib/sqlalchemy/connectors/mxodbc.py
lib/sqlalchemy/dialects/maxdb/base.py
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mssql/mxodbc.py
lib/sqlalchemy/dialects/sybase/base.py
lib/sqlalchemy/sql/compiler.py
test/dialect/test_mssql.py