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...
chankl78 said: How do I use the mysql rollup feature with laravel eloquent? I did try a few but not...
thepsion5 said: chankl78 said: vernard said: chankl78 said: $nric = 'test'; $items = Model::all...
vernard said: chankl78 said: $nric = 'test'; $items = Model::all()->filter(function($record) u...
AndrewBNZ said: What are you using to encrypt? If it's Laravel's Hash::make function, I believe th...
jgarifuna said: I would recommend filtering with a where statement, like so: $items = Model::where(...
The Laravel portal for problem solving, knowledge sharing and community building.
The community