OK, this maybe a stupid question, but are hasAndBelongsToMany, always
bi-directional?

I.e. I have a Model (Users) and I want to associate it with another
model (Albums). When the association is made I don't want Albums 'used
up', so use HABTM, but what about the reverse?

When setting up the association in the Album model, is it HABTM or is
it hasMany?

Im going to put my money on HABTM, but I just want to be sure I'm
right:)

Cheers guys,
Rob (aka Cherrio)


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

Reply via email to