Rt,
Can you clarify... I mean the auto create feature is a convenience...
right...
The alternative is for me to create the model manually....
Is it bad practice to create models for joins tables comprised soley
of two foreign keys.. Is that just a bad idea in general?
Thank you for your time
T

On Oct 3, 12:20 pm, rtconner <[EMAIL PROTECTED]> wrote:
> Sure why not.
>
> Cake 1.2 has recenlty added a feature where you can speficy a 'With'
> association which auto-creates a model for the join table.
> You may want to mess around with that.
>
> An example can be found in the OCPHP doc found 
> here:http://cakephp.org/downloads
>
> On Oct 3, 8:25 am, Comida411 <[EMAIL PROTECTED]> wrote:
>
>
>
> > There appear to be 3 types of join table in my data model..
>
> > 1. Pure join - table comprised of two or more foreign keys only and no
> > other attribues (column headers)
> > 2. Join as parent - table comprised of two or more foreign keys only
> > and no other attribues... wherein he table is also the parent to
> > another table
> > 3. Join with attributes table comprised of two or more foreign keys
> > and several other attribues
>
> > Can I make a rule, that there should be a cake model in cases 2 and 3
> > but not in case 1
>
> > Thank you in advance for your response..
> > [EMAIL PROTECTED] Hide quoted text -
>
> - Show quoted text -


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