diff --git a/statement.go b/statement.go index 347f88ff..6176da06 100644 --- a/statement.go +++ b/statement.go @@ -96,7 +96,7 @@ func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) { } if v.Alias != "" { - writer.WriteByte(' ') + writer.WriteString(" AS ") write(v.Raw, v.Alias) } case clause.Column: