Laravel 6 Beginner - e12 - MySQL Where Clause with Eloquent

preview_player
Показать описание
When fetching records from the database, most of the time you need to grab a subset of records and not your entire database. This is done using a where clause. Let's add that to our app in this lesson.

Laravel RESTful Controllers

DigitalOcean Referral

About This Course

If you have been looking to learn Laravel, there hasn't been a better time. The framework reached an important point in its life, with the release of Laravel 6. There has never been more demand for Laravel developers than now. In this series, we are going to get you started in your path to becoming a Laravel Artisan. Let's get right to it!
Рекомендации по теме
Комментарии
Автор

Welcome back Victor!
So Happy to see new videos!
You will add a new success daily for us!

linguapharm
Автор

This is exactly what i was looking for to understand between get() and first() methods. thumbs up!!!

starmovie
Автор

I missed you, dude. Thanks for all the great content.

sntlln
Автор

First, the explanation you do is super simple and clear. Thx for making it most simple. One suggestion till this video everything was fine, but video number 12, 13, 15, 16 I think there is much more could be explained even for beginners. After I watch those episodes I feel that I miss a big part, and there is gap in learning Laravel. Why don`t you go forward and explain everything. You have potential, so maybe you can teach everything here in YouTube ?

didarhojagulyyev
Автор

Thank u so much, can i ask you somthing ? what is With Clause do ? like
or somthing like that

ammaralhomyqani
Автор

You talk about using unsignedInteger instead of a string for the active field. How about using a boolean?

Dylanm
Автор

I cant use the $customer->save(); method . It said "PHP Error: Call to undefined method stdClass::save() in D:/Web Dev/Laravel/la
ravel-6-beginnereval()'d code on line 1
"

einnlleinhattha
Автор

I've created a user seeder composer package that uses env values so I don't have to create my account every migrate:fresh

Stoney_Eagle
Автор


This line Fails my migration :(

but this line works:

doriomer