We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
samedi 20 février 2016
Eloquent model to represent entity in 2 db
In our app we have an entity, as per app design we have, the entity resides in 2 dbs. Conditionally we need to switch the source DB. What would be the correct way to have eloquent models for this scenario.
Aucun commentaire:
Enregistrer un commentaire