Support the ongoing development of Laravel.io →

lachyn

Joined 23 Oct 2014

Statistics

Threads 3
Replies 3
Solutions 0
Articles 0

Help with query

Hello, could somebody kick me into right direction how to build this kind of query in eloquent: SET...

0 Likes
0 Replies

eager load with sum() on relations

Hi Artisans, I am trying to figure out how to reduce number of queries when I am doing this kind of...

0 Likes
1 Replies

compare table column with sum of hasMany

Hello, I am unable to figure out how to perform one query, where I get objects from model, based on...

0 Likes
6 Replies
Solved
replied 10 years ago

compare table column with sum of hasMany

Bingo! You are the Man! I owe you a Beer :) There are still things to learn. Thank you very much. La...

0 Likes
replied 10 years ago

compare table column with sum of hasMany

Still no luck :( select * from `models` where `id` in (select `models`.`id` from `models` inner join...

0 Likes
replied 10 years ago

compare table column with sum of hasMany

#1111 - Invalid use of group function Thanks, I will try to play with it.

0 Likes

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.