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

Have you gone through all the docs on Laravel relationships? There are some very useful helpers that should do what you need.

http://laravel.com/docs/4.2/eloquent#relationships

There are some useful querying options: http://laravel.com/docs/4.2/eloquent#querying-relations

Or if that fails and you want something more bespoke, then take a look at DB:: and you can join in a more bespoke way: http://laravel.com/docs/4.2/queries#joins

Hope it helps.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mukeshp004 mukeshp004 Joined 23 Jun 2014

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.