Support the ongoing development of Laravel.io →
posted 6 years ago
Eloquent
Last updated 2 years ago.
0

Probably in my case is best to use CI to run the query

$reports = $this->db->query($sql)->result();

But would be nice is this could be moved inside the model some how

Thank you

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Cipa cipa Joined 11 Dec 2017

Moderators

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.

© 2024 Laravel.io - All rights reserved.