Wednesday, May 26, 2010

Re: Join table question

This ought to be fine - are you having problems?
http://book.cakephp.org/view/1044/hasAndBelongsToMany-HABTM

Jeremy Burns
jeremyburns@me.com


On 26 May 2010, at 22:21, Roland Pish wrote:

Hello.
I have two tables with a many-to-many relationship between them:
practitioners and practice_areas.
So, the join table name should be: practice_areas_practitioners? Is
this correct according to cakephp conventions?
Is more than one underscore allowed for a join table name?

I'm afraid that I will have another many-to-many relationship between
practitioners and a table called state_license_numbers, so the join
table should be named: practitioners_state_license_numbers?

Thanks a lot in advance.

Regards.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: