How do I use the mysql rollup feature with laravel eloquent? I did try a few but not able to get the...
How do I write a eloquent on getting specific fields or columns from the table? I have tried below,...
In relationship from the questions I have ask previously, Question 1: Inserting selected fields from...
Is there any way to search encrypted data? I have tried as below, but always end up as record not fo...
Can I know how to I select some fields from table 1 and insert the values of the selected into anoth...
Hi, Anyone can advice me on the above? Thanks.
Can u try in your controller $cars = Car::all()->orderBy('sort_order', 'asc')->get();
Thanks!! It works beautifully. Except that, we do not need to include Crypt::decrypt() for my case...
Thanks for the reply. I thought the encrypt value is always changing when we save into the database...
Turn out, I found a way. But do not know if this is a good way. At least it solve my problem. $mem...
The Laravel portal for problem solving, knowledge sharing and community building.