mirror of https://github.com/go-gorm/gorm.git
ignore AS when alias table as it doesn't work on oracle db, close #3328
This commit is contained in:
parent
06461b3254
commit
677edf9d9e
|
@ -86,7 +86,7 @@ func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) {
|
|||
}
|
||||
|
||||
if v.Alias != "" {
|
||||
writer.WriteString(" AS ")
|
||||
writer.WriteByte(' ')
|
||||
stmt.DB.Dialector.QuoteTo(writer, v.Alias)
|
||||
}
|
||||
case clause.Column:
|
||||
|
|
Loading…
Reference in New Issue