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',.......);

}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire