MySQL count method gives the total number of rows in executed query, In laravel we use eloquent or query builder to execute the query. In laravel eloquent or query builder we use count method to count the rows. We can…
how to add multiple select in laravel eloquent ?
Laravel eloquent builder has rich features to modify the query. In some cases we wanted to modify the select statement on basis of few conditions and wanted to add some select statement on condition. so in this article we will…