If blog post has infinite number of comments we can define one-to-many relationship by placing following code in post model?
Correct Answer: public function comments() { return $this->hasMany('App\Comment'); }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Laravel Framework MCQ Questions