Collin L schrieb:

I have a one-to-many relationship between Users and Lists.  I am using
SQLObject.  How do I select all the Lists that are NOT related to a
User?

This can't be true. If you'd really have a one-to-many-relationship, then this would mean that each list could only be associated to _one_ user. Which would render the query trivial, as it would be

List.select(List.q.user != user.id)

But I doubt that that is what you really have - or at least want. So - show us some model code.

Diez

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