To retrieve all blog posts that have at least one comment. (Model has one to many relation already set up)
Correct Answer: $posts = App\Post::has('comments')->get();
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Laravel Framework MCQ Questions