3
jryouk
8y

When you think this would do what it looks it would in Zend 1.x, you are wrong.

$fields = ['status' => 'inactive'];
$where = ['id' => 123];
$db->update('product', $fields, $where);

I was wrong.

Comments
  • 0
    The worse is that, it got buried in a huge update, missed to unit test this function, got approved and went live.
Add Comment