I have an interesting, if unorthodox, problem: I want to have a 
RelatedJoin, to a table that I don't know about.
The reason behind this is, I'm writing a small system that is meant to 
be pluggable, i.e. you pass it the ID, and rather than it having 
referenced to the SQLObject in question, it just stores/retrieved using 
the ID.

Specificly, this is so that it is not tied to any specific User system. 
and I found that I want to have a groups involved, but unrelated to user 
management.

So in essence, I want to do a many-to-many relationship, with out the 
other relation, just my groups table, and the intermediate table that 
uses the UserID

something like:
class MyGroups:
    UserID = IntCol()
    Items = RelatedJoin( 'Item' )
    Users = RelatedJoin(....)

intermediateTable user_groups
    group_id INT,
    user_id INT

.... is this making any sense? I'm only working with a UserID, not a 
User Object...

Sean

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

Reply via email to