cake-php@googlegroups.com
[Top] [All Lists]

Re: table row pay_unique_ident get identified as PayUniqueent?

Subject: Re: table row pay_unique_ident get identified as PayUniqueent?
From: Tilen Majerle
Date: Wed, 9 Mar 2011 16:29:54 +0100
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

--
Lep pozdrav, Tilen Majerle



2011/3/9 heohni <heidi.anselstetter@xxxxxxxxxxxxxxxxx>
unique_id

--
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@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php
<Prev in Thread] Current Thread [Next in Thread>