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

I think you are supposed to choose one or the other, two ways to achieve the same result depending upon which is easiest.

0

i'm not quite sure but according to the code on eloquent even if it's guarded, if it's fillable it will fill .. still not sure thou

0

Thanks all.

PS: Just to answer this. After some testing.. it looks like it's either or. Thanks again.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

crag crag Joined 10 Jul 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.