From: Oleg B. <ph...@ph...> - 2007-11-15 16:16:03
|
On Wed, Nov 14, 2007 at 10:44:56PM +0100, Nicolas Riedel wrote: > users = SQLRelatedJoin("User", intermediateTable="todo_user", > joinColumn="todo_id", otherColumn="user_id") > and then it should work? Now t.users returns a SelectResult instance instead of a list of Users. You can further process it: t.users.orderBy('name') Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |