Support the ongoing development of Laravel.io →
Security Database Eloquent
Last updated 2 years ago.
0
 Foo::select(DB::raw('select foo.*, count(bar.id) as c'))->join("bar", 'foo.id', '=', 'bar.foo_id')->get();
Last updated 7 years ago.
0

Hi astroanu, thanks for your response. It seems you haven't read my question properly.

Jonas

0

Bump, what do you guys think?

0

hehe, yes i guess i have. as of now there's no solution for this it seems :(

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jonashaag jonashaag Joined 26 Nov 2016

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.