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

When an attribute isn't present in the model, it won't be updated in the database when you call the save method. If you want to specifically set those attributes to be null, you'll need to specifically define them as such.

Last updated 2 years ago.
0

thepsion5 said:

When an attribute isn't present in the model, it won't be updated in the database when you call the save method. If you want to specifically set those attributes to be null, you'll need to specifically define them as such.

To witch atribute do you refer?? i send the two attributes, coul you be more specific!!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

alnux alnux Joined 20 Feb 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.