Support the ongoing development of Laravel.io →
CleverCookie

CleverCookie

Joined 2 Jul 2014

Statistics

Threads 0
Replies 25
Solutions 1
Articles 0

clevercookie has not posted any threads yet

replied 11 years ago

Proper chaining for my Pivot table to execute Pivot Update

I don't know why it is updating two pivot tables and updating a value that we are not specifying. Do...

0 Likes
replied 11 years ago

Proper chaining for my Pivot table to execute Pivot Update

Sorry, I should have realized sooner that we were using the where query on the WorkArea's table and...

0 Likes
replied 11 years ago

Proper chaining for my Pivot table to execute Pivot Update

$update = Item::find($item_id)->workArea()->wherePivot('imei', '=', 3)->first(); $update-&...

0 Likes
replied 11 years ago

Proper chaining for my Pivot table to execute Pivot Update

Martney, all the data in one table? Also, Model::find() gets a record by it's primary key, and prima...

0 Likes
replied 11 years ago

Proper chaining for my Pivot table to execute Pivot Update

Can you paste your code in laravel.io/bin. Your last post just confused me even more. I don't unders...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.