2009年7月30日星期四

Re: [fw-db] How to test the success of Db_Table::insert()?

If it fails, wouldn't an exception be thrown?

--
Hector


On Thu, Jul 30, 2009 at 11:36 AM, Christian Welzel <gawain@camlann.de> wrote:
Am Donnerstag 30 Juli 2009 schrieb till:
>
> I thought I just read that it returns the affected rows.

Zend_Db_Adapter::insert() does.
But not Zend_Db_Table::insert().

So i wonder how i'm supposed to check on Zend_Db_Table whether
the insert() succeeded or not...


--
 MfG, Christian Welzel

 GPG-Key:     http://www.camlann.de/key.asc
 Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15


没有评论: