]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- bindparam() names are now repeatable! specify two
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 3 Mar 2007 21:02:26 +0000 (21:02 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 3 Mar 2007 21:02:26 +0000 (21:02 +0000)
commite736817a92797a3a3ce7b1c2cc9622643186f65b
treed8af6807cd998cf6bc3e5d78428259a49a7c01c6
parentc8a78834f5a11394105942f9c8d9483451415e12
- bindparam() names are now repeatable!  specify two
distinct bindparam()s with the same name in a single statement,
and the key will be shared.  proper positional/named args translate
at compile time.  for the old behavior of "aliasing" bind parameters
with conflicting names, specify "unique=True" - this option is
still used internally for all the auto-genererated (value-based)
     bind parameters.
CHANGES
lib/sqlalchemy/ansisql.py
lib/sqlalchemy/exceptions.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql.py
test/sql/select.py