]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added "remote_side" argument to relation(), used only with self-referential
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Dec 2006 05:59:50 +0000 (05:59 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Dec 2006 05:59:50 +0000 (05:59 +0000)
commita97a1fcad41a3cbcbc7d3957b6229f39258fd7ed
tree56f6d2b1a60da2376af6cae407074da786f3bf98
parent0ab287b0394d4d5b42feb23267c3a589f1e9d438
- added "remote_side" argument to relation(), used only with self-referential
mappers to force the direction of the parent/child relationship.  replaces
the usage of the "foreignkey" parameter for "switching" the direction;
while "foreignkey" can still be used to "switch" the direction of a parent/
child relationship, this usage is deprecated; "foreignkey" should always
indicate the actual foreign key columns from now on.
CHANGES
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/sync.py
lib/sqlalchemy/topological.py
test/orm/cycles.py