MCQs > Website Designing & Development > Laravel Framework > To execute the following statement without error, which is correct? $flight = App\User::create(['name' => 'John Doe']);

Laravel Framework MCQs

To execute the following statement without error, which of the following is correct? $flight = App\User::create(['name' => 'John Doe']);

Answer

Correct Answer: In model, set: protected $fillable = ['name'];

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Laravel Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Laravel Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it