How is the following a mass assignment for Laravel when I have already specified the fields in array?
Post::create([
'title' => request('title'),
'body' => request('body')
]);
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Q3UejI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire