← All tasks
What you'll do
Pick the correct relationship method for a scenario.
Scenario
A Book belongs to exactly one Author, and an Author can write many Books. On the Book model, which relationship do you define?
Ready to try it?
Create a free account and subscribe to take "Choosing the Right Eloquent Relationship". Earn 70 XP and track your internship progress.
Already have an account? Sign in