In my Laravel 4.2 app I have several models of which use Eloquent ORM. I usually access the data through the standard functions (e.g. ::get()
).
The issue I have is that with ORM I'm producing lots of queries when perhaps just a single custom query would suffice.
My question is, is there a way to execute a custom query but have those results populate into the my pre-existing Eloquent models.