Hi!

Im stuck trying to undersatnd how to represent hasAndBelongsToMany
using DbDesginer.

----------------------------------------------------------------------

hasOne
1:1

belongsTo
1:1

hasMany
1:n

HasAndBelongsToMany
¿ ?

----------------------------------------------------------------------

For example:

User HasAndBelongsToMany Projects
Projects HasAndBelongsToMany Users

users
  id
  name
  username
  password

projects
  id
  name
  description

users_projects
  id
  user_id
  project_id


Which is the right way to represent the relationships using
Dbdesigner?


Any help is welcome. Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to