please, how I can do this query with laravel? http://laravel.io/bin/3BmXm select cf.city, sum( cf.to...
I can't "translate" the SQL Query below to Laravel, how I can make this? SELECT SUM(transa...
I solved the problem with this: Transaction::select(DB::raw('SUM(transaction.amount AS total', 'prod...
I make to return the expected values with DB::select('select.."). Thanks GSheffield, but I ne...
intrip said: Did you try to use DB:statement($query); command? Yes and this error appears: "I...
darrencraig said: Why not just run the whole thing as a RAW query? I tried and returns empty, but...
The Laravel portal for problem solving, knowledge sharing and community building.
The community