Это видео недоступно.
Сожалеем об этом.
Laravel 8 tutorial in Hindi - One to Many Relation
HTML-код
- Опубликовано: 24 сен 2020
- In this laravel 8 Hindi video tutorial, we learn what is One to many relations and what is relations in laravel in a simple way. This video is made by anil Sidhu in the Hindi language.
steps of video
What are Relations in Laravel
One to Many Relation
Make Models and Controller
Make Relation & Show Data
Interview Question in Laravel
Laravel 9 tutorial in Hindi
Laravel 9 tutorial in hindi playlist
• Laravel 9 tutorial in ...
please support me by subscribe, like and comment :) thank you
how i used to connect 4 model with relation orm
get ready to make hindi tutorial on laravel 9 (current release date 25 jan 2022)
Hi everyone,
In one to many relationship in the above video we saw that the data from device table is displayed only!
How to show data from both tables?
As we can do this with joins.
In Model:
function companyData()
{return $this->hasOne('App\Models\School'); }
function companyData2()
{
return $this->hasMany('App\Models\Company');
}
In controller:
function index()
{
return Member::with('companyData','companyData2')->find(16); }
this code will return result of three tables
how we can update multiple images in Laravel with hasMany relationships and delete old files?
please help me in this
How two tables data can be showed through relations where only device table data is showed here?
A/s Sir ap laravel pa zaida sa zaida videos banayi.. Nice Video
how i used to connect 4 model with relation orm
and it only worked for me when using "App\Models\Model", got an error when i tried "App/Models/Model" :)
use
return $this->hasMany(modelname::class);
ye ulta h url starting vaala url sahi h
sir interview quetion pe video kab ayegi?
kya tables create karty howy hmy foreign key b use karni hy ??
marji hai bro
@@shevum but bhai mera data nai show ho reha ...i followed each and every step of sir anil video
sir line se video ni mil ra
sb idhar udhar hai
Ye sam bht ameer lag raha hai bhai karta kiya hai wo 😂😂😂😂🤣🤣🤣🤣