If you ever created complex global scope constraint, you must have faced a challenge with defining r...
Pretty much every app needs decent search engine. Nowadays specialized engines like ElasticSearch ar...
Do you use Eloquent in your apps? It's simply fun to work with, right? I think the same, but after s...
I want to introduce nice and useful package for DB revisions. It works out of the box with Eloquent...
Explained here: http://laravel.io/bin/rr4QQ#8,44
There's inline initializing available in MySQL: DB::select(DB::raw('@total := @total + x as total_x'...
@beaverusiv It won't work in anything db related, but this is probably the way to go. @sleepless Wha...
@VenomRush Exactly - if you join tables in Eloquent, always specify the columns to select, otherwise...
I assume you have enum field (l, r, b), so you can use accessor like below: // Player model (or what...
Your assumption is wrong. Eager loading never affected base query in any way, order clause you set t...
The Laravel portal for problem solving, knowledge sharing and community building.