Re: Database associations
You can use the join statement: http://book.cakephp.org/view/1047/Joining-tables )although it's not ideal).
Jeremy Burns
Class Outfit
jeremyburns@classoutfit.com
http://www.classoutfit.com
On 9 Jul 2010, at 00:06, Justin Beeler wrote:
> I'm working with two tables: Contacts and Calls.
>
> I want to join the calls with the contacts on a field called
> "number" (the phone number). Is there not a way in cake to manually
> join tables and not have it join on a field like [model]_id ?
>
> If you need any further details, let me know.
>
> 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
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home