For SQL error you can check $this->Model->getDataSource()->error
property.

On Dec 7, 7:10 am, "[email protected]" <[email protected]> wrote:
> Hi all,
>
> It appears Model->find('first', ...) returns false in both cases:
>
> 1) SQL error
> 2) Empty result
>
> How am I supposed to know which is which if it behaves this way?
>
> Thanks.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to