Studyon Minte9.com
ZF 1.0

Study

Adapter vs Table



// Zend_Db_Adapter vs. Zend_Db_Table

Insert
$db->insert($table, $data); // adapter
$this->insert($data); // table - return insert id

Update
$db->update($table, $data, $where); // adapter
$this->update($data, $where); // table

Delete
$db->delete($table, $where); // adapter
$this->delete($where); // adapter


http://www.minte9.com/kb/zend-db_adapter-vs-db_table-programming-zend-framework-i342