Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
shaw93
Posts
Comments
DT
Drizzle Team
•
Created by shaw93 on 7/30/2023 in
#help
groupby multiple things
the SQL query I want to convert ends with:
GROUP BY
u.user_id,
e.ExerciseID;
GROUP BY
u.user_id,
e.ExerciseID;
I see no where in the docs for multiple groupBy however would expect this would work:
.groupBy([
users.user_id,
exercises.ExerciseID
]);
.groupBy([
users.user_id,
exercises.ExerciseID
]);
how to achieve this?
2 replies