Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

distinct laravel not working

$outgoings = Invoice::where('customerID', $id)
                    ->groupBy('invoiceNumber')
                    ->get();
This will work but....

Have to follow this to false strict
https://stackoverflow.com/questions/40917189/laravel-syntax-error-or-access-violation-1055-error
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #distinct #laravel #working
ADD COMMENT
Topic
Name
4+2 =