Yup, I want terenary relations between them, I tried User, Group, and Permission relation but i am unable to do that.
at most i am able to insert only two fields values, User_id, group_id, group_id, project_id project_id, user_id in other column it is inserting null... -------------------------- On Thu, 2011-02-17 at 12:24 +0100, Christoph Zwerschke wrote: > Am 17.02.2011 12:00 schrieb Abdul Gaffar: > > As u told i posted this query on SA group, still I dint got any reply. I > > will be very thankful if anybody can explain how to relate more than two > > tables(three or four tables) with a single association table. > > First you should clarify whether you really want a ternary relationship > or just two binary relationships. In the former case, in principle your > code looked ok, just attributes named strangely. In the latter case, > take the standard user, groups, permissions model as example. > > -- Christoph > -- 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.

