Laravel 5.4 Tutorial | Eloquent One to One Relationship | Part 6 | Bitfumes

preview_player
Показать описание
laravel 5.4, laravel 5.4 tutorial, new in laravel 5.4, laravel 5.4 new, laravel, laravel 5.3, laravel tutorial, laravel 5.3 tutorial, laravel beginner tutorial, laravel 5.3 beginner tutorial, laravel 5.3 hindi, laravel hindi beginner, artisan, laravel blade, laravel artisan, php laravel, laravel controller, laravel routes, laravel resource controller, laravel resource, larvavel crud, best laravel 5.4 tutorial, laracast, laravel 5.4 best, laravel view data, Laravel eloquent relationship

Eloquent One to one Relationship. Eloquent relationships are defined as methods on your Eloquent model classes. Since, like Eloquent models themselves, relationships also serve as powerful query builders, defining relationships as methods provides powerful method chaining and querying capabilities.
Eloquent is a ORM(Object-relational mapping) is a one of best thing laravel Provides you.

Here is a new series for Beginner on Laravel 5.4 from scratch

Laravel layout files

--- FOLLOW ME ---

Subscribe for New Releases!

(ask me questions!)

--- QUESTIONS? ---

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Thanks for all your support!

LARAVEL 5.4 Tutorial | Fasih One to One Relationship | Bagian 6 | Bitfumes
Laravel 5.4 Tutorial | Un eloquente One Associazione | Parte 6 | Bitfumes

-~-~~-~~~-~~-~-
Please watch: "Laravel 5.4 Tutorial | Email From Server (Godaddy) #3 | Part 26 | Bitfumes"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Whenever I got stuck i come to this channel thanks sir for your videos

SubrataSen
Автор

Awesome tuts sir, watched atlese 50-80 videos still no clarity, now it all clear

gurubillishrinivasareddy
Автор

thank you very much for your help, the video is amazing

iliasbekkali
Автор

Hey!
Some questions :
* What don't we use the forein key key word in the migration USer?
* How do Laravel know which column is linked to passport?

Thanks :)

antoine
Автор

Plz show after these that you are continuing from previous video or no . If yes which part and files are deleted . Thank you . Your videos make me to be alive with my Final Year Project.

sharifabahar
Автор

I am learning a lot from this. I just want to clear one thing is that hasOne and belongsTo in breaf is that user has only one passport and passport belongs to the passport table. Find user with id 1 and get all the values in the passport table and vice versa.
Thank you.

binoysarker
Автор

What happen if you insert a passport without specifying a users id? There should be a foreign key relationship in the database level?

shiny
Автор

sir how to get all the fields of user and all the fields of when you call App\User::find(1)->passport ----it will show you only the fields of passports
and Another question is which table i should add foreign key ....user table or passport table ....
in this video you are assign user_id in passports table but if I add pasport_id in user table what will happen ?
how to use my own filed name as a foreign key between two tables ?

RohitRana-zcoq
Автор

Its a great tutotial, but I think you could teatch how to insert dates through controller, instead of done it at cmd

TheRafinhay
Автор

i think for userid 1 passport 2 is returning and 12349 was related to id 2.
and i cant find were you defined the relation between user_id(passport table) and id(user table).

DeveshKumar-yvkf
Автор

Hi, Here you have user table and passport table if I want User Details with the Passport number how can we get those as in video we get only passport or only the user how can we get both in one time??

dilipchandima
Автор

Sir i have one question i join two table like user and passport.I got successfully data both table using relationship by forign key
but i got data like UserId, Username,passport number

like this
userId=1, userName="Bitfumes", passportNumber=123234
So what i can do in l5 repository pattern larave
l

kaushikshrimali
Автор

hi, ankur i am following your video series .and i found there is 13 series of your authentication video so which series i follow frst this one or authentication series..

asimsagirabbasi
Автор

uncle thank you for the videos there ae making documentation peace of cake bu i have a question so if a i use relationships i dont have to mention in my migratiion that acertain thing in table A is a foreigne key in Table B and thanks again

mizokhamlichi
Автор

Model name Should be in a small case or in Camel case in laravel ?

HarshGuptaWebExpert
Автор

i have one question . in laravel field id can we change to user_id or anything else !

khivechanveasna
Автор

Thank you for this awesome videos . I have a question, whenever i write command php artisan migrate it creates tow tables with the same name for me . Why it is like that and how to prevent this ?

sharifabahar
Автор

your video is nice but in between you have not told how you have created home controller or page controller

vikramPahaadi
Автор

Hi... Sir,
I'm having an issue, here is my route,


How can I pass id in {}/edit
I have tried but it's not working at all... I think i'm missing something but not getting what .. help me, please
Thanks in advance

TheOfficeAI
Автор

At 12:21. Can someone explain why is it show id:2 ?

maneetchaudhary