Hi john,

Can you explain why you think it is.
I dont think its HABTM case but I am not sure may be it is.

Thanks

Vishal

On Apr 26, 2:10 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Apr 25, 2007, at 9:42 PM, Vishal wrote:
>
>
>
> > Anyone? Please I need the answer ASAP.
>
> > On Apr 26, 1:36 pm, Vishal <[EMAIL PROTECTED]> wrote:
> >> Hi Guys,
>
> >> I am new with CakePHP as everyone is. What I want to know that how to
> >> use the associations to handle the Unary M-M relationship. I am
> >> working on university database where we have unary M-M relations like
> >> each subject could have (1, M) prerequisites subjects. So it is unary
> >> M-M relation where the table will have subject_id refer to subject
> >> (id)
> >> and prerequisite_subject_id which also refer to subject(id).
> >> Combination of both these id's is the primary key. I dont know how to
> >> show this in terms of association in CakePHP.
>
> Sounds like hasAndBelongsToMany (HABTM). Check out the models chapter
> in the manual.
>
> -- John


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