Support the ongoing development of Laravel.io →
chankl78

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...

0 Likes
1 Replies
Solved
posted 11 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,...

0 Likes
1 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...

0 Likes
9 Replies
posted 11 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...

0 Likes
9 Replies
Solved
posted 11 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...

0 Likes
3 Replies
Solved
replied 11 years ago

Getting a data from model & use in controller

Hi, Anyone can advice me on the above? Thanks.

0 Likes
replied 11 years ago

Calling model method from controller

Can u try in your controller $cars = Car::all()->orderBy('sort_order', 'asc')->get();

0 Likes
replied 11 years ago

Search Encrypted Data

Thanks!! It works beautifully. Except that, we do not need to include Crypt::decrypt() for my case...

0 Likes
replied 11 years ago

Search Encrypted Data

Thanks for the reply. I thought the encrypt value is always changing when we save into the database...

0 Likes
replied 11 years ago

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

Turn out, I found a way. But do not know if this is a good way. At least it solve my problem. $mem...

0 Likes
Solved

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.

© 2026 Laravel.io - All rights reserved.