Laravel this is not only a practical framework, it is also a programming style
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?
Aucun commentaire:
Enregistrer un commentaire