Skip to content

Commit

Permalink
release v - 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalguptaofficial committed Jul 6, 2019
1 parent 4254b33 commit f2278a5
Show file tree
Hide file tree
Showing 10 changed files with 1,998 additions and 1,729 deletions.
21 changes: 13 additions & 8 deletions dist/grammar.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -401,17 +401,22 @@ groupByRestValue = _* "," _* val:column _*{
return val;
}

orderBy= by:orderByValue type:orderByType?{
return {
order: {
by:by,
type: type
}
orderBy = ORDER _ BY _ value:orderByQry rest:restOrderByQry* {
rest.unshift(value);
return {
order: rest
};
}

orderByValue = ORDER _ BY _ by:column {
return by;
restOrderByQry = _* "," _* qry:orderByQry {
return qry;
}

orderByQry = by:column type:orderByType?{
return {
by:by,
type: type
}
}

orderByType = _ type: OrderByTypes _* {
Expand Down
Loading

0 comments on commit f2278a5

Please sign in to comment.