I have tried to use another Mysql connection in Laravel:
DB::connection('mysql2')->select(...);
But I need to use model like:
Equipment::all();
How to use another connection for model?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/30tNWKI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire