Updating a Magento Collection with Zend_db objects.
So, I needed to update a magento adminhtml grid. I took a look at the database and it seemed pretty simple. There is a table with all of the main information, and a history table that is referenced when an addHistory function is called on the collection. The old add history function looked like this….