]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added **kw to ClauseElement.compare(), so that we can smarten up the "use_get"...
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Aug 2009 22:21:02 +0000 (22:21 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Aug 2009 22:21:02 +0000 (22:21 +0000)
commita04da2a417726055da205bd604a1993eb4fd9887
tree1b106d1a624599cdfdd62abcacbee8948b22da3c
parentcbdccb7fd26da432ddf43ae1820656505acad37e
- added **kw to ClauseElement.compare(), so that we can smarten up the "use_get" operation
- many-to-one relation to a joined-table subclass now uses get()
  for a simple load (known as the "use_get" condition),
  i.e. Related->Sub(Base), without the need
  to redefine the primaryjoin condition in terms of the base
  table. [ticket:1186]
- specifying a foreign key with a declarative column,
  i.e. ForeignKey(MyRelatedClass.id) doesn't break the "use_get"
  condition from taking place [ticket:1492]
06CHANGES
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql/expression.py
test/ext/test_declarative.py
test/orm/inheritance/test_basic.py