lundi 30 mai 2016

Bypass "mass assignement" laravel

I have hundreds of fields in my table and I dont want to write all the field in the$fillablearray. Is there any way tobypass $fillable process` ?

class MyClass extends Eloquent {

protected $fillable = array('firstField', 'secondField',.......);

}



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/25vLDb4
via IFTTT

Aucun commentaire:

Enregistrer un commentaire