]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- generation of "unique" bind parameters has been simplified to use the same
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Dec 2007 22:23:10 +0000 (22:23 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Dec 2007 22:23:10 +0000 (22:23 +0000)
commit541b6772e9b8a09b10bd7a16fa9e2b7f693d1194
tree5dc22ca324eafbb6ac48a296f02f166984252d46
parent3ac9c93e260aa1a5d9c88a648bf7d1213a0e817f
- generation of "unique" bind parameters has been simplified to use the same
"unique identifier" mechanisms as everything else.  This doesn't affect
user code, except any code that might have been hardcoded against the generated
names.  Generated bind params now have the form "<paramname>_<num>",
whereas before only the second bind of the same name would have this form.

- bindparam() objects themselves can be used as keys for execute(), i.e.
statement.execute({bind1:'foo', bind2:'bar'})
14 files changed:
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
test/dialect/firebird.py
test/dialect/mssql.py
test/dialect/oracle.py
test/orm/eager_relations.py
test/orm/query.py
test/sql/generative.py
test/sql/query.py
test/sql/select.py
test/sql/selectable.py