I don't know why it is updating two pivot tables and updating a value that we are not specifying. Do...
Sorry, I should have realized sooner that we were using the where query on the WorkArea's table and...
$update = Item::find($item_id)->workArea()->wherePivot('imei', '=', 3)->first(); $update-&...
Martney, all the data in one table? Also, Model::find() gets a record by it's primary key, and prima...
Can you paste your code in laravel.io/bin. Your last post just confused me even more. I don't unders...
The Laravel portal for problem solving, knowledge sharing and community building.