]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- all "type" keyword arguments, such as those to bindparam(), column(),
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Jul 2007 07:11:55 +0000 (07:11 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Jul 2007 07:11:55 +0000 (07:11 +0000)
commit95d2771c6fbe75d0232a092f7ff1d4cbb82ed2ac
treeaa7fce5a65a664390ec2a2288323c768cd785eb0
parent5e7b01166cb7fe01f3e446e24235e0d03544a853
- all "type" keyword arguments, such as those to bindparam(), column(),
  Column(), and func.<something>(), renamed to "type_".  those objects
  still name their "type" attribute as "type".
- new SQL operator implementation which removes all hardcoded operators
  from expression structures and moves them into compilation;
  allows greater flexibility of operator compilation; for example, "+"
  compiles to "||" when used in a string context, or "concat(a,b)" on
  MySQL; whereas in a numeric context it compiles to "+".  fixes [ticket:475].
- major cruft cleanup in ANSICompiler regarding its processing of update/insert
  bind parameters.  code is actually readable !
- a clause element embedded in an UPDATE, i.e. for a correlated update, uses
  standard "grouping" rules now to place parenthesis.  Doesn't change much, except
  if you embed a text() clause in there, it will not be automatically parenthesized
  (place parens in the text() manually).
24 files changed:
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/oracle.py
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/databases/sqlite.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/orm/dependency.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/sync.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/sql.py
lib/sqlalchemy/types.py
test/engine/bind.py
test/engine/parseconnect.py
test/orm/inheritance/polymorph2.py
test/orm/query.py
test/sql/case_statement.py
test/sql/defaults.py
test/sql/query.py
test/sql/select.py