]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
serious overhaul to get eager loads to work inline with an inheriting mapper, when...
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Mar 2006 20:51:51 +0000 (20:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Mar 2006 20:51:51 +0000 (20:51 +0000)
commit06b8c73ad5136f615957bdf4e535330885ae1635
treeb3f59c9d1083e4a126425e0c09fca844f0b675c8
parent3aa4dd6f2b4e3ba80706960ecb8a988087f9a573
serious overhaul to get eager loads to work inline with an inheriting mapper, when the inheritance/eager loads share the same table.  mapper inheritance will also favor the columns from the child table over those of the parent table when assigning column values to object attributes.  "correlated subqueries" require a flag "correlated=True" if they are in the FROM clause of another SELECT statement, and they want to be correlated.  this flag is set by default when using an "exists" clause.
lib/sqlalchemy/engine.py
lib/sqlalchemy/mapping/mapper.py
lib/sqlalchemy/mapping/properties.py
lib/sqlalchemy/sql.py
lib/sqlalchemy/util.py
test/inheritance.py
test/select.py