Laravel 11 tutorial in Hindi #66 Route Model Binding

  Рет қаралды 12,096

Code Step By Step

Code Step By Step

Күн бұрын

Пікірлер: 7
@codestepbystep
@codestepbystep 2 жыл бұрын
Please support me by subscribe, like and comment :) thank you
@NareshKumar-xf6rl
@NareshKumar-xf6rl 4 жыл бұрын
yes, we can access it. when implicitly binding multiple Eloquent models in a single route definition, you may wish to scope the second Eloquent model such that it must be a child of the first Eloquent model. For example, consider this situation that retrieves a blog post by slug for a specific user: use App\Models\Post; use App\Models\User; Route::get('api/users/{user}/posts/{post:slug}', function (User $user, Post $post) { return $post; });
@Imrankhan_fan33
@Imrankhan_fan33 4 ай бұрын
yes we can access data from the database with two are multiple models using route binding
@rZERO_game
@rZERO_game 23 күн бұрын
kya only get method use hota hay?
@wasiqnaveed3420
@wasiqnaveed3420 27 күн бұрын
interview answer is that as we can get two model data using only one route using route model binding with the help of eloquent relationships or joins that is the relistic approach in my opinion
@ZUGAMEat009
@ZUGAMEat009 2 жыл бұрын
Super
@kamalCode
@kamalCode 4 жыл бұрын
Sir, हिंदी के वीडियो में ही English ka coaption set kar diya करो तो आपका टाइम बचेगा
Laravel 8 - 7 tutorial in Hindi- Markdown Mail Template
5:05
Code Step By Step
Рет қаралды 21 М.
Laravel 11 API tutorial in Hindi #2 Install API package
9:22
Code Step By Step
Рет қаралды 3,9 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Laravel 11 tutorial in Hindi # Laravel 11 new features
12:14
Code Step By Step
Рет қаралды 2,5 М.
ADV JAVA tutorials  by Mr. Nagoor Babu Sir
Durga Software Solutions
Рет қаралды 5
Learn Laravel 11 in 6 Hours | Laravel Tutorial in Hindi
6:37:27
Chandan Acharjee
Рет қаралды 1,8 М.
Laravel 11 API tutorial in Hindi #3 Make First GET API with database
8:03
Code Step By Step
Рет қаралды 3,8 М.
Laravel 11 tutorial in hindi # install laravel with herd #laravel11
7:39
Code Step By Step
Рет қаралды 2,3 М.