MySQL select statement tests.

This commit is contained in:
go-jet 2019-08-01 16:56:54 +02:00
parent 449cd9fd8f
commit 6af43f0c46
22 changed files with 65812 additions and 47193 deletions

View file

@ -92,7 +92,7 @@ func (c columnImpl) serialize(statement statementType, out *sqlBuilder, options
if c.subQuery != nil {
out.writeIdentifier(c.subQuery.Alias())
out.writeByte('.')
out.writeAlias(c.defaultAlias())
out.writeIdentifier(c.defaultAlias(), true)
} else {
if c.tableName != "" {
out.writeIdentifier(c.tableName)