]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
finally, a really straightforward reduce() method which reduces cols
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jan 2008 17:59:27 +0000 (17:59 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jan 2008 17:59:27 +0000 (17:59 +0000)
commit9eced72c035a9e0424ca8a77c9f657783a5a94dd
tree16a0d346c35d72590a721e23ef05b6b31f7ce6a4
parent4870a41d277ef8638dd06d23ba20a69acf073739
finally, a really straightforward reduce() method which reduces cols
to the minimal set for every test case I can come up with, and
now replaces all the cruft in Mapper._compile_pks() as well as
Join.__init_primary_key().  mappers can now handle aliased selects
and figure out the correct PKs pretty well [ticket:933]
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/util.py
test/orm/inheritance/query.py
test/orm/mapper.py
test/sql/selectable.py