for exmaple, the sql is
SELECT
*,
COUNT(*)
FROM
message_like
WHERE
receiver_id = 1
GROUP BY
bbs_article_id,
bbs_comment_id
ORDER BY
- time;
I hope that the result is queryset, not a dict.
for exmaple, the sql is
SELECT
*,
COUNT(*)
FROM
message_like
WHERE
receiver_id = 1
GROUP BY
bbs_article_id,
bbs_comment_id
ORDER BY
- time;
I hope that the result is queryset, not a dict.