]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added with_hint() method to Query() construct. This calls
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Mar 2010 21:18:53 +0000 (17:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Mar 2010 21:18:53 +0000 (17:18 -0400)
commit36047e9bb28501477b1403059087cccc120be2b6
tree1438816820a5de5587cbf21a2d4ca89b173ef833
parent3cd2c4661f1522353be983a309dc947c2a2a28bb
- Added with_hint() method to Query() construct.  This calls
directly down to select().with_hint() and also accepts
entities as well as tables and aliases.  See with_hint() in the
SQL section below. [ticket:921]
- Added with_hint() method to select() construct.  Specify
a table/alias, hint text, and optional dialect name, and
"hints" will be rendered in the appropriate place in the
statement.  Works for Oracle, Sybase, MySQL.  [ticket:921]
CHANGES
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/sybase/base.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
test/orm/test_query.py
test/sql/test_compiler.py