hey everybody.

i am kind of lost, with how cake wants me to deal with my problem. may
be anybody here has some hints or suggestions for me?

i want to associate two models through a different field than 'id'. i
also want to have this relationship defined in the model itself, of
course.

the easiest way to describe the relationship would be like this:
belongsTo/hasMany: modelA.modelB_field = modelB.field.

where modelA belongsTo many modelB and modelB also has many modelA.
but i dont think an extra join table is necassary but a simple join
query would be enough in sql.

thanx for the brainpower.

\n


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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