Should I use Query Builder for this in Laravel 9?
DB::table('galleries')->insert(
['book_id' => $book->id, 'photo' => $name, 'cover' => 1],
);
or Laravel Eloquent?
Gallery::create(
['book_id' => $book->id, 'photo' => $name, 'cover' => 1],
);
And what is the difference?