2009年7月30日星期四

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

Hi there,

what is the recommended way to test if an insert action of
Zend_Db_Table::insert() succeeded?
The return value of the Adapter::insert() is discarded, and
the returned pk is only usable if it is a autoincrementing
column and the value was not given...

--
MfG, Christian Welzel

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

没有评论: