| 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
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> |
|---|---|---|
| ||
| Previous by Date: | Re: constructClasses() ????, Tilen Majerle |
|---|---|
| Next by Date: | SaveAll 100000 data form Sql server to Mysql, cakephp_rocks |
| Previous by Thread: | table row pay_unique_ident get identified as PayUniqueent?, heohni |
| Next by Thread: | Re: table row pay_unique_ident get identified as PayUniqueent?, Ryan Schmidt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |