Hi,
I want a ActiveRecord Components which should use Master DB for writing and Slave DB for reading purpose.
How can we implement that?
-Esak
Hi,
I want a ActiveRecord Components which should use Master DB for writing and Slave DB for reading purpose.
How can we implement that?
-Esak
There is an extension that does just that - http://www.yiiframework.com/extension/dbreadwritesplitting
This extension cannot set de conection db (only read) in model to extend for ActiveRecord. Just cant use for createcommand functions. True o false?
Please, someone has been worked with this extension would know if is valid for write method ->save() of ActiveRecord saves on master server?