Tell me how to use select query in laravel?
Answer / Balwant Kumar Singh
To perform a simple SELECT query in Laravel, you can use the Eloquent ORM's `select()` method on an Eloquent model instance:nn```
$users = AppUser::select('name', 'email')->get();
```
This will return a collection of users with only their names and email addresses.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is fillable in laravel model?
How to get current environment in laravel?
What is a Laravel - Authentication ?
What are all the different Route Parameters ?
what is Laravel-Routing ?
What are contracts?
Why composer is used in laravel?
How to start, stop mysql on valet?
Does laravel support php 7?
How to install installing mariadb on homestead?
Tell me how do I see all of the routes that are defined?
Why doesn't laravel use semantic versioning?