Laravel Eloquent Relationships | One to One | One to Many | Many to Many Eloquent in HINDI Part #1

  Рет қаралды 36,394

Ajay yadav

Ajay yadav

Күн бұрын

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.

Пікірлер: 60
@musiclovers8488
@musiclovers8488 2 жыл бұрын
bhai aapne sikhaya mast h ... par bhagte bahut jyada tez ho... thoda explain bhi kiya karo ye soch kar ki dekhne wale beginners honge.. thankyou bhai
@mihirpatel6758
@mihirpatel6758 2 жыл бұрын
Thanks Ajay, You are doing good for our nation to make series in Hindi and other thing you just not create small video and finished topic like other do, you cover each and every small detail, which I like most. keep doing laravel tutorial's. You deserve appreciation.
@ajay-yadav
@ajay-yadav 2 жыл бұрын
made my day 😊🙏thank you
@AhsanKhan89
@AhsanKhan89 Жыл бұрын
I was searching for this quick overview of relationships in Laravel. Excellent video.
@ajay-yadav
@ajay-yadav Жыл бұрын
Glad you liked it
@AhsanKhan89
@AhsanKhan89 Жыл бұрын
can you please make a video on CRUD application using Repository pattern and sanctum api?
@syednaveedjaffri8539
@syednaveedjaffri8539 2 жыл бұрын
Dear Ajay.i am a beginner.i have watched many tutorials on laravel. but seriously, u have builtin capabilities to precisely explain. waiting for CRUD...
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Thankx buddy 👍
@DEV-RJ10000
@DEV-RJ10000 Жыл бұрын
@@ajay-yadav 😀
@muhammadzeeshan3911
@muhammadzeeshan3911 6 ай бұрын
Such a nice expaination. This channel is full of to the point knowledge In my view point the most underrated channel of laravel thankyou very much sir for your videos
@ajay-yadav
@ajay-yadav 6 ай бұрын
Thank you for the kind words! I'm glad you find the content helpful. If you have any topics you'd like covered, let me know. Appreciate your support!
@muhammadzeeshan3911
@muhammadzeeshan3911 6 ай бұрын
@@ajay-yadav do you have any Laravel developors community
@NasirKhan-jy3gp
@NasirKhan-jy3gp Жыл бұрын
😍 love you brother this helped me alote
@ashutoshsharma5173
@ashutoshsharma5173 2 жыл бұрын
Awesome explanation 👍
@tejassethi9319
@tejassethi9319 2 жыл бұрын
Very well explain! Thank you so much.
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Glad you enjoyed it!
@xbeast7585
@xbeast7585 7 ай бұрын
Thank You So Much Sir ❤
@mazekaro9798
@mazekaro9798 5 ай бұрын
Nice Ajay Bhai Ur video is always helpful for me Thanks Ajay Bhai
@ajay-yadav
@ajay-yadav 5 ай бұрын
Always welcome
@rehmanghani6726
@rehmanghani6726 Жыл бұрын
Nice video Ajay 👍 it was explained very well. I have a question for you. Why do we use attach or sync method in Many to Many relationship? Thank you
@NasirKhan-jy3gp
@NasirKhan-jy3gp Жыл бұрын
Same question
@omprakashdevra3314
@omprakashdevra3314 Жыл бұрын
Nice explanation
@ParvinderSingh013
@ParvinderSingh013 Жыл бұрын
Bro onDelete cascade kya work krta h
@SachinSharma-by7gw
@SachinSharma-by7gw Жыл бұрын
Easy to understand
@akSingh_120
@akSingh_120 11 ай бұрын
nice explained.
@techsavy6724
@techsavy6724 Жыл бұрын
Thanks its helps alot
@ajay-yadav
@ajay-yadav Жыл бұрын
Glad it helped
@viral-video-studio
@viral-video-studio Жыл бұрын
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel-relationship.categories_post' doesn't exist ye error arha hai last me jab post with categories kr rhe hai to
@manishkumar-fe8rj
@manishkumar-fe8rj 2 жыл бұрын
Hello sir great👍👍👍 Please make one video for phpunit testing in laravel 😊😊
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Sure soon
@narayankatiha
@narayankatiha 9 ай бұрын
great video on relationships
@ajay-yadav
@ajay-yadav 9 ай бұрын
Glad you enjoyed it
@sachinKumar-hu9gj
@sachinKumar-hu9gj 2 жыл бұрын
great video broo
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Thankx buddy
@varshilshah8212
@varshilshah8212 Жыл бұрын
Nice one brother
@ajay-yadav
@ajay-yadav Жыл бұрын
Thanks ✌️
@syednaveedjaffri8539
@syednaveedjaffri8539 2 жыл бұрын
I have very basic question.. which one i use to in laravel application? JQuery or VUE?? both are new to me. please suggest/recommend me. thanks
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Vuejs
@subhajitghorai8835
@subhajitghorai8835 Жыл бұрын
multiple database table relation data count using withCount. how to do this, please help me
@AsmaKhan-qf6gd
@AsmaKhan-qf6gd 10 ай бұрын
SUper amazing
@ajay-yadav
@ajay-yadav 10 ай бұрын
Glad you think so!
@user-qe9ro4kq8x
@user-qe9ro4kq8x 11 ай бұрын
In this relationship how to fetch data in blade.pho file from controller
@learnbook-dz6ou
@learnbook-dz6ou 3 ай бұрын
what is the categories() in controller?
@rajeshsaini2600
@rajeshsaini2600 Жыл бұрын
Hello, sir I am watching your videos but I have a small issue that ..... which version did you use?
@ajay-yadav
@ajay-yadav Жыл бұрын
Most of the laravel versions support these relationships... But in my case it's laravel 8 I guess
@sunilnegi9255
@sunilnegi9255 2 жыл бұрын
sir laravel complete series bnaiye na i am waiting you laravel complete series please make this series asap
@ajay-yadav
@ajay-yadav 2 жыл бұрын
sure , will start soon
@muthurams4809
@muthurams4809 Ай бұрын
Bro how to create a index in mysql through laravel
@pujaroychowdhury5307
@pujaroychowdhury5307 Жыл бұрын
$user = User::with('contact')->first(); // return $user->contact; dd($user->toArray()); why is the contact show null?
@ajay-yadav
@ajay-yadav Жыл бұрын
It should not.... Just verify if first user has contact entry in the contacts table
@vikassharma5339
@vikassharma5339 2 жыл бұрын
rate of speed jyda h for beginner ke liye kindly slow rate of speed
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Noted
@amarvaish6550
@amarvaish6550 4 ай бұрын
Bro what was the role of category_post table
@learnbook-dz6ou
@learnbook-dz6ou 3 ай бұрын
same question
@hardikphotos-fx3xz
@hardikphotos-fx3xz Жыл бұрын
many to many is not good
@futureOptionAlibaba
@futureOptionAlibaba Жыл бұрын
Agar itni jaldi hi to Kyu time pass ke lye video banate ho
@ajay-yadav
@ajay-yadav Жыл бұрын
hmm sorry bro ... phle mujhe lgta tha ki logo ko jldi jldi sikhna rhta h ... but ab maine kafi sudhar kiya h ... aap meri latest videos me sudhar dekh skte hn
@debanjanabiswas8040
@debanjanabiswas8040 2 жыл бұрын
Meri UserSeeder.php pr 'name' => 'test' nhi le rahi hai, ParseError bol rahi hai syntax error, unexpected '=>' (T_DOUBLE_ARROW)
@ajay-yadav
@ajay-yadav 2 жыл бұрын
make sure you write in this way (array) $admin = User::create([ 'name'=>'Admin','email' => 'email', .....]);
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 51 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 11 МЛН
Laravel Roles and Permissions Without any  package in HINDI
42:53
Many to Many Relationship in Laravel (Hindi)
33:46
Geeky Shows
Рет қаралды 16 М.
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 112 М.
Laravel 10 full course for beginner -  what is eloquent orm
11:05