It sounds like what you want to do is this:

class A(SQLObject):
    foo = RelatedJoin('B')

class B(SQLObject):
    bar = RelatedJoin('A')

It's a good idea to keep references in both objects.

I believe the join you want goes like this:

A.select(A.q.fooID==b.id)

See:
http://www.sqlobject.org/SQLObject.html#selecting-multiple-objects

Hope that helps!

-David


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to