From: Jason Kirtland Date: Wed, 1 Aug 2007 00:18:38 +0000 (+0000) Subject: Tweak ([ticket:673]) X-Git-Tag: rel_0_4beta1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45a9b4b175a25eb557f2b4c36680f53ace5c30b1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Tweak ([ticket:673]) --- diff --git a/doc/build/content/adv_datamapping.txt b/doc/build/content/adv_datamapping.txt index b7fae0ff43..12141bb80a 100644 --- a/doc/build/content/adv_datamapping.txt +++ b/doc/build/content/adv_datamapping.txt @@ -809,13 +809,13 @@ A self-referential mapper where there is more than one relationship on the table mapper(TreeNode, trees, properties={ 'children' : relation( TreeNode, - primaryjoin=trees.c.parent_node_id==trees.c.node_id + primaryjoin=trees.c.parent_node_id == trees.c.node_id cascade="all", backref=backref("parent", remote_side=[trees.c.node_id]) ), 'root' : relation( TreeNode, - primaryjoin=trees.c.root_node_id=trees.c.node_id, + primaryjoin=trees.c.root_node_id == trees.c.node_id, remote_side=[trees.c.node_id], uselist=False )