Closed meuriceloup closed 4 years ago
When I take a look at the QL grammar and more specifically at OrderBy and GroupBy clauses, this is what one can find:
syntax OrderBy = orderClause: "order" {VId ","}+ vars; syntax GroupBy = groupClause: "group" {VId ","}+ vars Having? having;
Both clauses take as input a list of VId... however, it should be an Expr instead. Example: from User u select u order u.name
I changed the syntax accordingly in anticipation of aggregation features in TyphonQL.
When I take a look at the QL grammar and more specifically at OrderBy and GroupBy clauses, this is what one can find:
syntax OrderBy = orderClause: "order" {VId ","}+ vars; syntax GroupBy = groupClause: "group" {VId ","}+ vars Having? having;
Both clauses take as input a list of VId... however, it should be an Expr instead. Example: from User u select u order u.name