[Dbix-class] Different Read and Write Database Handles Supported within DBIx?

Nathanial Hendler nathan at petfinder.com
Tue May 2 17:07:42 CEST 2006


In my situation, I have a setup of one master and many slave databases.
Each slave is used for reading, and the master is used to write to.
Does DBIx::Class support this environment?  Can I create a single object
and interact with it normally and DBIx knows that
INSERTs/UPDATEs/DELETEs happen on database server A, and SELECTs happen
on database server B?

Any suggestions would be appreciated.

Thanks,
Nathanial Hendler
Tucson, AZ USA




More information about the Dbix-class mailing list