]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Can pass mapped attributes and column objects as keys
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 Dec 2008 21:48:12 +0000 (21:48 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 28 Dec 2008 21:48:12 +0000 (21:48 +0000)
commitbd23baf4ac0f9dd520120445594bd00f1b760f4b
treeda34169da4c61043615220b456e21885eed0c16f
parent8669eda82dcc84b726ab420106dfea86fc8a066f
- Can pass mapped attributes and column objects as keys
to query.update({}).  [ticket:1262]

- Mapped attributes passed to the values() of an
expression level insert() or update() will use the
keys of the mapped columns, not that of the mapped
attribute.
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
test/orm/mapper.py
test/orm/query.py