prom icon indicating copy to clipboard operation
prom copied to clipboard

Group by support

Open Jaymon opened this issue 2 years ago • 0 comments

This syntax?

Bar.query.select_foo_id().eq_che(11).group_foo_id().desc("MAX(boo)")

would result in SQL like:

SELECT "foo_id" FROM "bar_table" WHERE "che" = 11 GROUP BY "foo_id" ORDER BY MAX("boo") DESC;

Links

search

  • sql group by

Jaymon avatar Aug 12 '21 20:08 Jaymon