The database query builder provides a convenient, fluent interface to creating and running database queries in Laravel apps.
In one of the my worker scripts to store aggregate counts based on some metrics, I am not using Eloquent …
laravel laravel-5 eloquent query-builder laravel-query-builderI want to subtract 100 number from credit column in database that is having int data type. I am looking for …
php mysql laravel laravel-5.4 laravel-query-builderI want to build a query something like this: select * from users where id=1 AND address="USA" AND (status="active" …
mysql laravel-query-builderI know the fact that Laravel has removed lists() function and moved functions signature as pluck(). But, this leads to …
php laravel eloquent laravel-query-builder pluckI am trying to build a coupon site in Laravel. Each merchant has their own deals/coupons. I have been …
php laravel laravel-5.2 laravel-query-builderI need to select entries based on dates happening in the future and the entries contain the date format: 12/30/17 I'm …
php laravel date-formatting laravel-query-builderI'm new to Laravel 4. I have this query: SELECT a.id, active, name, email, img_location, IFNULL(b.Total, 0) AS …
php mysql sql laravel-4 laravel-query-builder