From 449ce9a4a84a40d91685a3d181260f73b1672605 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 4 Dec 2017 18:45:51 +0000 Subject: [PATCH] Make sure ORDER BY clauses are formatted correctly --- sql/string.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/string.go b/sql/string.go index bc4fe4ff..f95c27f9 100644 --- a/sql/string.go +++ b/sql/string.go @@ -498,7 +498,7 @@ func (this Orders) String() string { func (this Order) String() string { return print("%v %v", this.Expr, - this.Dir, + maybe(this.Dir, "ASC", "DESC"), ) }