Zend Framework compound primary key update

YKDavid

New Member
For a project I need to update a row where the PK contains two columns.At first I thought I should do it like this but it gives me errors. Anybody with a solution?\[code\]$data = http://stackoverflow.com/questions/3599544/array('foo','bar');$where = $this->_getGateway()->getAdapter() ->quoteInto(array('customerId=?','date=?'), array($comment->customerId, $comment->date));$this->_getGateway()->update($data, $where);\[/code\]Thanks
 
Back
Top