Re: Doubt with function Find and similar functions

2006-10-18 Thread Ismael S. Kafeltz
It was exactly what i was looking for... Thank you, it worked. I wish this information was documented in cake-api =/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send em

Re: Doubt with function Find and similar functions

2006-10-18 Thread AD7six
Recursive 0 still includes belongsTo and hasOne relationships (IIRC). set recursive to -1 to remove all associations and only query the direct model with no joins. HTH, AD7six --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Doubt with function Find and similar functions

2006-10-18 Thread Ismael S. Kafeltz
Hello people. I was wondering about this piece of code: $aux = $this->PessoaFisica->find("PessoaFisica.cpf = '{$this->data['Form']['cpf']}'", array('cpf'), null, 0); pr($aux); which outputs this: Array ( [PessoaFisica] => Array ( [cpf] => 123 ) ) Fine, but my