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

Have you looked over one to many in the docs? And other examples in relations. Also don't forget about laracast.

0

Use SELECT ON if you want the JOIN feature without actually getting data from the other table then use ORDER BY at the end of the query. Google them and their laravel equivilents.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ALTELMA altelma Joined 26 Oct 2015

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.