Eloquent Relationships By Example

33 episodes
4 hours  18 mins

About this course

Eloquent is Laravel's ORM (Object Relational Mapper). In simple terms, it's how your models work with the database.

The good news? There's a bunch of powerful relationship types available. Our task is to learn when and where to use each one.

In this course, we'll cover each basic relationship type, how to access related models, and then insert, sync, update and delete related data. Oh, and we'll build a practical example for each relationship type, to really make it stick.

Your teacher

Alex Garrett-Smith
Alex Garrett-Smith

Hey, I'm the founder of Codecourse!

Related content

You might also enjoy these

Making Eloquent models 'LiveAware'

episodes
11 mins

Quick and Easy Nested Categories in Laravel

episodes
20 mins

Easily Register Laravel Observers with an Observable Trait

episodes
4 mins

Laravel Performance

episodes
1 hr 9 mins
Want to stay in the loop about new content?
Of course you do.

© 2024 Codecourse Ltd. All Rights Reserved. Born in the UK.