Laravel One to One Relationship | Eloquent One to One | Laravel 9 Tutorial for Beginners

Laravel One to One Relationship | Eloquent One to One | Laravel 9 Tutorial for Beginners

Code With Dary

1 год назад

4,040 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Lyrics & Remix
Lyrics & Remix - 09.02.2023 18:12

the hasOne relationship didn'twork for me until i specified the foreign key
return $this->hasOne(PostMeta::class, 'post_id');
i still dont get it, any thoughts ?

Ответить
Daniel Goldshtein
Daniel Goldshtein - 19.11.2022 20:08

methods edit and update is Empty on github repo
could you publish it please

Ответить
Muhammad Abrar Javed
Muhammad Abrar Javed - 11.10.2022 20:44

Hi I did all the things same but my app is not updating the meta data. so if anyone can help please let me know
how to update the meta data ?

Ответить
Pascal Wesolek
Pascal Wesolek - 26.08.2022 12:42

Hi Dary! I really appreciate the tutorials. I wonder what's best practice on extending the user table. I was thinking of creating a extra User Info table with a one-to-one relationship to give it more flexibility without always updating the user table. I that a good idea or is it better just to keep it to one user table and add extra field there?
Thanks!

Ответить
Palma Panorama
Palma Panorama - 18.08.2022 19:46

Nice one Dary! 👍

Ответить
TAIWO ADEBOLA
TAIWO ADEBOLA - 17.08.2022 20:43

Bro your channel is underrated

Ответить
Junaid Hassan
Junaid Hassan - 17.08.2022 11:39

nice content.
Please make a video on broadcasting(pusher) using laravel 9 "vite".
Also please make a detailed video on vite how it is different from mix

Ответить