#5.1 One to Many & One to One Polymorphic Relationships | Laravel Eloquent Relationships

In the #Laravel Eloquent Relationships, we have seen standard one-to-one, one-to-many, many-to-many, and has-many-through relations. Next, in this video, we ...

#2 - One To Many relationship | hasMany() | Laravel Eloquent Relationships

In the one-to-many relationship, a single model owns a collection of models. For example, a user may have multiple posts. In this lesson, we will learn: ✔ ha...

#3.1: Many To Many relationship | belongsToMany() | Laravel Eloquent Relationships

Many to Many relationship in database are a little complicated as compared to one to one and one to many relationships. We can define `Many-to-many` relation...

#5.2 Many to Many Polymorphic Relationship | Laravel Eloquent Relationships

"many-to-many" polymorphic relations are slightly more complicated than "one-to-one" `morphOne and "one-to-many" 'morphMany' polymorphic relationships. In th...

#4.2 has-many-through relation using Pivot model | Laravel Eloquent Relationships

In this video, you will learn the "has-many-through" relationship using a Pivot model. 𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐄𝐥𝐨𝐪𝐮𝐞𝐧𝐭 𝐑𝐞𝐥𝐚𝐭𝐢𝐨𝐧𝐬𝐡𝐢𝐩𝐬 𝐏𝐥𝐚𝐲𝐥𝐢𝐬𝐭 https://www.youtube.com/playli...