> If it fails, wouldn't an exception be thrown?
Yeah, I guess that would be enough since you don't have extended
inserts or something like that where an affected number of rows would
be useful.
> 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...
Correct. I had just looked at the Adapter. Sorry about that!
Till
没有评论:
发表评论