Is there any simple solution how to perform INSERT queries on one database and SELECT queries on another using Doctrine?
I’m trying to use Doctrine with Mysql replication…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Already found a solution, 2 classes need to be modified:
class Doctrine_Query, change preQuery method:
class Doctrine_Record, update method save: