fixes problem with order in scope when counting
having order option in model’s scope when performing a count kicked out this error: SequelizeDatabaseError: column “xxxx” must appear in the GROUP BY clause or be used in an aggregate function
Showing
with
8 additions
and
0 deletions
-
Please register or sign in to post a comment