From: David M. C. <da...@da...> - 2004-09-24 16:31:13
|
On Fri, Sep 24, 2004 at 11:00:24AM -0500, Ian Bicking wrote: > I haven't had a chance to look at MultipleJoin closely, to really figure > out what it's problem is, but I did (rather blindly) apply a patch sent > by Cyril. It's not in 0.6, but it's in the repository, maybe it will > help you. Just tried out the SVN sqlobject and see the same thing. And even weirder: In [10]: [j.joinMethodName for j in Composer._joins] Out[10]: ['children'] But it *does* work if I explictly specify the joinMethodName: children = MultipleJoin('Work', joinMethodName='children') Thanks, BTW, for the change that allows foreignKeys to be used when inserting, rather than having to use the ID. Also it's great to now be able to use multiple keys in selectBy (though that method does not understand foreignKeys yet). Dave Cook |