Hi William,
I'm trying to use your (amazing, really) class, but I'm facing with a huge
matter: in my controllers, I sometimes use to switch fetch mode this way:
$this->db->setFetchMode(Zend_Db::FETCH_OBJ);
It happens that your class actually change the fetch mode for the "master"
db only, and not for the slave one, the latter still using the default
(const 2, aka Zend_Db::FETCH_ASSOC).
I studied your code and find out I can change fetch mode each single
"fetch*" call, but I feel that is not the right way to do... :)

How would you redefine the setFetchMode method in the Opale class to change
fetch mode in both adapters?

Thanks,
paperogiallo

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Handling-MySQL-replication-with-Zend-Db-Adapter-and-Zend-Db-Table-tp662573p3449396.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to