Laravel Advanced Eloquent | perform complex queries on json columns .

preview_player
Показать описание
Like, share and subscribe is great support .
Рекомендации по теме
Комментарии
Автор

You really should have more subscribers

AmitErandole
Автор

Hello sir, thank you so much❤️❤️❤️.. You made my day.. May god bless you❤️

FusionsBlend
Автор

Awesome.
Today i have some issue but i dealt it.
But i want your opinion in this how you will deal it.
E.g user table hasone study (means user_id in studies table). And studies table belongsto type(means studies table has type_id column). Now you are saving data $user= User::create($userArrayData);
Then,
$type = Type::create($typeArrayData) ;
Then,
$studyDataArray['type_id'] = $type->id;
Then,
Explaination: creating user first then creating type data. Then creating study data using relationship.
°i am doing this how will you do it?
Is there a way to save all in one go by chaining relationship?
** the data is in array..
But array containg nothing but only the requests and the time with carbon parse

shubhamsahuSD
Автор

Hallo sir, I'm new at programming, i want ask u why we should have those json schema? Why we not use another table with many relationship? Thank you sir

menma
Автор

what version laravel is neccesary for use update(['data->sport' => 'vollyball'])??? i try in laravel 8 it not work, i use forcefill(['data->sport' => 'vollyball'])

horacioccallata
Автор

How would I build an input form for this? How would I handle validation?

AmitErandole
Автор

Hi sir, is there any way to join tables of json colomn? I explored everywhere but found no answers. Can you please help me sir?

FusionsBlend
Автор

Hello, Thanks for the tutorial, but you didn't show how to insert data into the table, with and without using casting attribute.

AjayK-