I just found a better query for what I need, but i...
# komapper
d
I just found a better query for what I need, but it involves using a subquery in a leftJoin... is that possible?
t
Specifying a subquery in the JOIN clause is not supported. If you are using MySQL 8, you can substitute it with CTE. (You are using MySQL 5, aren’t you?)
d
Yeah, I'm using 5... you have a good memory 😄! Well, I guess I had to use a template... at least you made things much easier with selectAsEntity!
😀 1