Re: table row pay_unique_ident get identified as PayUniqueent?
On Mar 9, 2011, at 09:29, Tilen Majerle wrote:
> because of _id, if you connect 2 models, then they are connected with modelalias_id in other controller so like that
>
> POST model (hasMany Comment)
> posts table:
>
> id,
> title,
> created,
> modified,
> ...other rows in table
>
> COMMENT model (belongsTo Post)
> comments table:
>
> id,
> post_id //connected with post model, but you have _ident
> created,
> modified,
> ... all other rows...
>
>
> i Hope you understan
I do not understand. Surely "_id" is only a suffix -- used only at the end of a column name. Why then is it being abused by CakePHP in the middle of a column name?
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home