shaw93
shaw93
Explore posts from servers
DTDrizzle 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