]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- the usual adjustments to relationships between inheriting mappers,
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Apr 2007 17:19:39 +0000 (17:19 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Apr 2007 17:19:39 +0000 (17:19 +0000)
commitf2a11cc728c26945deb109c067f9de5d470ebe29
tree19913e3437ce58ed063f7425a6af7654048490e2
parent732bc9ecf08b69ca688638d40841fb128e7b5417
- the usual adjustments to relationships between inheriting mappers,
in this case establishing relation()s to subclass mappers where
the join conditions come from the superclass' table
- specifically, places where PropertyLoader limits its search to mapper.local_table had to be expanded
to search separately within mapper.mapped_table as well.  in the case of determining primary/secondaryjoin, it starts more specifically first with local table then out to mapped table if not found.  in the case of determining direction, it starts more generally with mapped table, then if ambiguous direction, goes to the local tables.
CHANGES
lib/sqlalchemy/orm/properties.py
test/orm/polymorph.py