Didn't seem to work,
I've tried the following :
$defaultColumn = $db->quoteIdentifier("default");
$data = array( "$defaultColumn" => 0 );
$where = array("$defaultColumn = ?" => 1, 'doctor_id = ?' => $doctorId);
$db->update('types_appointment', $data, $where);
I had great hopes but I still got error :
Column not found: 1054 Unknown column '`default`' in 'field list'
I can guarantee you that there is a default column in that table .. :-(
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Quote-reserved-keywords-tp2525558p2525603.html
Sent from the Zend Framework mailing list archive at Nabble.com.