Make sure ORDER BY clauses are formatted correctly

This commit is contained in:
Tobie Morgan Hitchcock 2017-12-04 18:45:51 +00:00
parent 444d7858b8
commit 449ce9a4a8

View file

@ -498,7 +498,7 @@ func (this Orders) String() string {
func (this Order) String() string { func (this Order) String() string {
return print("%v %v", return print("%v %v",
this.Expr, this.Expr,
this.Dir, maybe(this.Dir, "ASC", "DESC"),
) )
} }