php - Doctrine using 2 databases -
so, have app uses doctrine 1.2.
i have 2 databases, 1 read replica , 1 writes.
i use read replica db on select queries , other other operations.
i did research on couldn't find perfect way achieve this.
i don't want initialize 2 connections when config auto loads. make slower. should lazy load when needed.
any workarounds?
Comments
Post a Comment