Support the ongoing development of Laravel.io →

chankl78

Joined 2 Feb 2014

Statistics

Threads 5
Replies 10
Solutions 2
Articles 0

Eloquent Groupby with Rollup

How do I use the mysql rollup feature with laravel eloquent? I did try a few but not able to get the...

Likes Replies
Solved
posted 9 years ago

findorfail to get specific fields

How do I write a eloquent on getting specific fields or columns from the table? I have tried below,...

Likes Replies
Solved

Getting a data from model & use in controller

In relationship from the questions I have ask previously, Question 1: Inserting selected fields from...

Likes Replies
posted 9 years ago

Search Encrypted Data

Is there any way to search encrypted data? I have tried as below, but always end up as record not fo...

Likes Replies
Solved
posted 9 years ago

Inserting of selected fields from 1 table to another table by eloquent

Can I know how to I select some fields from table 1 and insert the values of the selected into anoth...

Likes Replies
Solved
replied 6 years ago

Eloquent Groupby with Rollup

chankl78 said: How do I use the mysql rollup feature with laravel eloquent? I did try a few but not...

0 Likes
Solved
replied 9 years ago

Getting a data from model & use in controller

thepsion5 said: chankl78 said: vernard said: chankl78 said: $nric = 'test'; $items = Model::all...

0 Likes
replied 9 years ago

Getting a data from model & use in controller

vernard said: chankl78 said: $nric = 'test'; $items = Model::all()->filter(function($record) u...

0 Likes
replied 9 years ago

Getting a data from model & use in controller

AndrewBNZ said: What are you using to encrypt? If it's Laravel's Hash::make function, I believe th...

0 Likes
replied 9 years ago

Getting a data from model & use in controller

jgarifuna said: I would recommend filtering with a where statement, like so: $items = Model::where(...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.