Рет қаралды 36,394
In this video, I have discussed laravel eloquent relationships - one to one, one to many, and many to many. One user has a contact detail page so both tables are related to each other. user has one contact detail entry and contact detail belongs to a user.
for one to many relationships, the user has many posts and a post belongs to a user(author).
Many to many relationships- here we need 3 table posts, categories and category_post table -post belongs to many categories and a category belongs to many posts also.
Laravel Eloquent Relationships : One to One, One to many, Many to Many eloquent in hindi.
💥 OneToOne , OneToMany & ManyToMany💥
⌨️ (0:00) Introduction
⌨️ (00:33) One To One Relationship
⌨️ (6:50) One To Many Relationship
⌨️ (11:40) Many To Many Relationship
⌨️ (17:48) Thank you
Our Playlist:
Computer Facts: • Computer facts
Laravel User Management System :
• Laravel User Managemen...
Laravel Auth System :
• Laravel Multi Auth System
Laravel And Vuejs
• Laravel And Vuejs
Laravel Eloquent Relationships
• Laravel Eloquent Relat...
#ORM #eloquent #ormRelationships #OneToOne #OneToMany #ManyToMany
Please subscribe to my channel and share the video with your friends.