On Jan/05, Laerte M. Rodrigues wrote:
> se a tabela possui chave primaria no modelo declare
> 
> var $primary = "nomeCampo";
> 
> assim, será  a chave primária, caso seja composta, utilize array
> 
> var $primary  = array("Campo1","Campo2");
> 
> Em 5 de janeiro de 2012 16:14, Filippi Rizzi 
> <[email protected]>escreveu:
> 
> > Olá! Trabalho com o cake a alguns anos, e sempre utilizei como pk das
> > tabelas o id.. porem recebi uma modelagem de um bd no qual as tabelas
> > não possuem id.. gostaria de saber se alguem trabalha assim utilizando
> > o cake e ou ja tentou trabalhar assim.. Obrigado.
> >
> > --
> > 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
> > [email protected] For more options, visit this group
> > at http://groups.google.com/group/cake-php
> >
> 
Please, speak in English.


Cheers,
Matteo

> 
> -- 
> Grato,
> 
> Laerte Mateus Rodrigues
> Mestrando em informática (PUC Minas)
> 
> -- 
> 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
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
http://www.matteolandi.net

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to