Support the ongoing development of Laravel.io →
Database Eloquent Architecture
Last updated 2 years ago.
0

It looks like my main concern of the model's value not being updated has actually already been fixed by Taylor here: https://github.com/laravel/framework/commit/b18c7258f7ae8ba3a01a41c272cbf2f7e0b75005

Sadly the increment() and decrement() methods are still more limiting IMO. For reasons such as being unable to increment/decrement multiple columns at once, and the fact the model gets saved at the time of the increment/decrement call.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

BlueHayes bluehayes Joined 4 Aug 2014

Moderators

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.

© 2024 Laravel.io - All rights reserved.