Alias serialize simplified.
This commit is contained in:
parent
fb5bf7dd40
commit
cd1d033ffb
3 changed files with 17 additions and 22 deletions
|
|
@ -89,7 +89,7 @@ func (c columnImpl) serialize(statement statementType, out *queryData, options .
|
|||
if c.subQuery != nil {
|
||||
out.writeIdentifier(c.subQuery.Alias())
|
||||
out.writeByte('.')
|
||||
out.writeString(`"` + c.defaultAlias() + `"`)
|
||||
out.writeQuotedString(c.defaultAlias())
|
||||
} else {
|
||||
if c.tableName != "" {
|
||||
out.writeIdentifier(c.tableName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue