Hi,

How do I quote reserved keywords ?
I tried the following :

$data = array( '`default`' => 0 );
$where = array('`default` = ?' => 1);
$db->update('my_table', $data, $where);

But it doesn't seem to work :
Column not found: 1054 Unknown column '`default`' in 'field list

Thank you for any help !
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Quote-reserved-keywords-tp2525558p2525558.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to