Использование Zend Framework, есть ли способ передать несколько условий в оператор обновления с помощью метода quoteInto? Я нашел некоторые ссылки на эту проблему, но я ищу поддерживаемый способ без расширения Zend_Db или без конкатенации.
$db = $this->getAdapter();
$data = array('profile_value' => $form['profile_value']);
$where = $db->quoteInto('user_id = ?', $form['id'])
. $db->quoteInto(' AND profile_key = ?', $key);
$this->update($data, $where);
Ссылки