]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- tightened down conditions used to locate "relation direction", associating
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Jan 2007 12:31:27 +0000 (12:31 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Jan 2007 12:31:27 +0000 (12:31 +0000)
commita31979937223c68f395ee0704593c9150f10e86b
tree38631a67d1116c1014a894f940db540bbcc9845e
parent19de5346c2ce305327025d48ae5ed0d9626598ad
- tightened down conditions used to locate "relation direction", associating
  the "foreignkey" of the relationship with the "primaryjoin".  the column match now
  must be exact, not just "corresponding".  this enables self-referential relationships on a
  polymorphic mapper.
  - a little bit of improvement to the concept of a "concrete" inheritance mapping, though that concept
  is not well fleshed out yet (added test case to support concrete mappers on top of a polymorphic base).
CHANGES
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql.py
test/orm/alltests.py
test/orm/inheritance4.py [new file with mode: 0644]
test/orm/inheritance5.py [new file with mode: 0644]
test/orm/relationships.py