Polymorphic Relationship Laravel | Laravel Eloquent Relationships | Laravel ORM in HINDI #Part 3
In this video, we are going to learn Polymorphic relationships in Laravel and Laravel ORM in Hindi. Laravel Polymorphic Relationship allows a model to belong to more than one other model on a single association. Using polymorphic relationships, you can use a single image table for both of these scenarios. Let's learn Laravel Eloquent Relationships in detail.
Laravel Polymorphic Relationship
By default, Laravel will use the fully qualified class name to store the type of the related model.
There are four types of Polymorphic relationships in Laravel.
One To One Polymorphic Relationship
One To Many Polymorphic Relationship
Many To Many Polymorphic Relationship
💥 HasOneThrough & HasManyThrough 💥
⌨️ (0:00) Introduction
⌨️ (00:32) One To One Polymorphic Relationship
⌨️ (6:50) One To Many Polymorphic Relationship
⌨️ (8:20) Many To Many Polymorphic Relationship
⌨️ (15:40) Thank you
Laravel Eloquent Relationships | One to One | One to Many | Many to Many Eloquent in HINDI Part #1
https://www.youtube.com/watch?v=_LyEayVdqUM
Laravel Eloquent Relationships | Has One Through | Has Many Through | ORM Relationship Part #2
https://www.youtube.com/watch?v=nC8oS9IB8QE
Our Playlist:
Computer Facts:
https://www.youtube.com/playlist?list=PLT51dtioU1pMRgv8kNYajmgJfA1W1zwqv
Laravel User Management System :
https://www.youtube.com/playlist?list=PLT51dtioU1pPNxwwo3dWfkUCKI2BXnc_H
Laravel Auth System :
https://www.youtube.com/playlist?list=PLT51dtioU1pPmtFnYQ5WRnYvvL1zW74wl
Laravel And Vuejs
https://www.youtube.com/playlist?list=PLT51dtioU1pN0mQqQ5RM5nE8uOfzsqml2
Laravel Eloquent Relationships
https://www.youtube.com/playlist?list=PLT51dtioU1pO7YgLOyNY0KF_3ny79D0BV
#ORM #eloquent #ormRelationships #PolymorphicORM #PolymorphicRelationship
Please subscribe to my channel and share video with your friends.