• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
many-to-many with attributes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

many-to-many with attributes?


  • Subject: many-to-many with attributes?
  • From: Jim Zajkowski <email@hidden>
  • Date: Tue, 26 Jul 2005 13:34:00 -0400

Hi there,

What's the best way to handle a many-to-many relationship that has an attribute on the relation?

That is, let's say I have a table of users, and a table of groups. I want a m-to-m relation between them, since clearly more than one user can belong to a group, and I'd like to see what users are in a group.

But I also want to include some form of "access level" (e.g., moderator, administrator, regular user).

In DB land I'd model this by having an additional attribute on the users-groups table. But when I've done that in EOModeler, it creates a flattened relation, and so there isn't a way to see that attribute.

So, what's the best way to do it? Not flatten the relation and walk the m-to-m by hand?

Thanks,

--Jim

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: many-to-many with attributes?
      • From: Ian Joyner <email@hidden>
    • Re: many-to-many with attributes?
      • From: Wolfram Stebel <email@hidden>
    • Re: many-to-many with attributes?
      • From: Zak Burke <email@hidden>
    • Re: many-to-many with attributes?
      • From: Zak Burke <email@hidden>
    • Re: many-to-many with attributes?
      • From: Robert Walker <email@hidden>
  • Prev by Date: Re: SSDD vs WAR
  • Next by Date: Re: load testing
  • Previous by thread: Re: How can I block
  • Next by thread: Re: many-to-many with attributes?
  • Index(es):
    • Date
    • Thread