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

barryvdh said:

http://laravel.com/docs/database#running-queries

Thanks! I used that, but i would like to learn how do it with Eloquent

Last updated 2 years ago.
0

I'm also interested if this query is even possible with Eloquent...

From "Code Bright":

With SQL, we can use a number of complex comparisons and set arithmatic to retrieve only the results that we require. Replicating all of this functionality with Eloquent would be a tremendous task, but fortunately, Eloquent has alternate methods for the most useful of queries. For all the bits that are missing we can use raw queries to provide SQL statements that will return Eloquent ORM result instances.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.