ActiveRecord for multiple databases


I want a ActiveRecord Components which should use Master DB for writing and Slave DB for reading purpose.

How can we implement that?


There is an extension that does just that -

1 Like

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?