Reputation: 31
So i work with Laravel 5.5, have two connections in my project how to specify the connection to use for eloquent updateOrCreate instruction
Upvotes: 1
Views: 79
Reputation: 31
Use the instruction on('databasename') User::on('databasename')->updateOrCreate
Upvotes: 1