Please support me by subscribe, like and comment :) thank you
@NareshKumar-xf6rl4 жыл бұрын
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_fan335 ай бұрын
yes we can access data from the database with two are multiple models using route binding
@wasiqnaveed34202 ай бұрын
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
@rZERO_gameАй бұрын
kya only get method use hota hay?
@ZUGAMEat0092 жыл бұрын
Super
@kamalCode4 жыл бұрын
Sir, हिंदी के वीडियो में ही English ka coaption set kar diya करो तो आपका टाइम बचेगा