you can also get a reference to the db handler and get errors

If you do $db =&
ConnectionManager::getDataSource($this->Model->useDbConfig), that will
give you a reference to the database connection object, from which you
can retrieve query and connection errors.



On 10/9/06, Troy Schmidt <[EMAIL PROTECTED]> wrote:
>
> All this talk of Cake 1.2  makes me want to try it out!
>
> On Oct 9, 10:01 am, "nate" <[EMAIL PROTECTED]> wrote:
> > If there was no error but no results, it returns an empty array.  If
> > there was an error, it returns false.  Also, as of Cake 1.2, the
> > onError model callback is triggered.
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to