I have around 200 fields in Table with are numbered:
field_1
field_2
etc
So, I try to insert data in table:
Result::insert($data);
Where $data
is multiple array:
$data = [] = array("field_1" => 3);
$data = [] = array("field_1" => 2);
So, an I set *
in option protected $fillable = ["*"];
that to make all fiels as fillable?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire