Using DB, you can use multiple databases using connection('mysql')
But what if you use multiple databases when using ORM?
天蓬老师2017-05-16 13:00:21
When you create a Model, you can specify the connection.
protected $connection = 'connection-name';
That’s it.