skip to Main Content

Laravel resource performance

I'm using laravel framework and now I'm thinking that if laravel resource reduce the performance? Because it at first select all columns (select * from TABLE) then put the result in loop of resource. So does this loop slow down…

VIEW QUESTION

Laravel failing to update column with decimal type

I have the following code in a controller file $customer->update([ 'name' => $request->input('name'), 'address' => $request->input('address'), 'phone' => $request->input('phone'), 'percentage' => $request->input('percentage') ]); which successfully updates everything except the percentage field which is of type DECIMAL(2,2) I get no error…

VIEW QUESTION
Back To Top
Search