OK, that helped some, but i'm still having problems getting INNERJOINs
to work on relatedjoin objects.  I'll try to make a simpler example
that's more to the point.

Lets assume we have a group of passengers and a group of busses.  each
passenger needs to go to a couple different locations, and each bus
goes to a couple different locations. something like this:

-----------------------
class Passenger(SQLObject):
    destinations = RelatedJoin('Destination')

class Bus(SQLObject):
    destinations = RelatedJoin('Destination')

class Destination(SQLObject):
    passengers = RelatedJoin('Passenger')
    busses = RelatedJoin('Bus')
-----------------------

Now, given an bus instance, i want to know which passengers should be
picked up.  I don't have a lot of experience with SQL, and between SQL,
SQLObject, and Python, this is confusing me too much to even be able to
explain what it is i can't figure out - I'm just going around in
circles in my head.


--~--~---------~--~----~------------~-------~--~----~
 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