Foo::select(DB::raw('select foo.*, count(bar.id) as c'))->join("bar", 'foo.id', '=', 'bar.foo_id')->get();
Hi astroanu, thanks for your response. It seems you haven't read my question properly.
Jonas
hehe, yes i guess i have. as of now there's no solution for this it seems :(
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community