]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
identified more issues with inheritance. mapper inheritance is more closed-minded...
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Mar 2006 21:11:59 +0000 (21:11 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Mar 2006 21:11:59 +0000 (21:11 +0000)
commit0e599da0cfd64c0921ba31bb8957aa5d409318c0
tree0536e029b8d1427266848ade572a1ae9845b5bd6
parenta1e12ea16f79d8b72420138e8ab53fcf61993698
identified more issues with inheritance.  mapper inheritance is more closed-minded about how it creates the join crit
erion as well as the sync rules in inheritance.  syncrules have been tightened up to be smarter about creating a new
SyncRule given lists of tables and a join clause.  properties also checks for relation direction against the "noninherited table" which for the moment makes it a stronger requirement that a relation to a mapper must relate to that mapper's main table, not any tables that it inherits from.
lib/sqlalchemy/mapping/mapper.py
lib/sqlalchemy/mapping/properties.py
lib/sqlalchemy/mapping/sync.py
lib/sqlalchemy/util.py
test/inheritance.py