forked from mirror/gorm
Merge pull request #32 from akuseru/master
fix parameter ordering for mysql / postgresql
This commit is contained in:
commit
09464f1a17
2
do.go
2
do.go
|
@ -700,7 +700,7 @@ func (s *Do) joinsSql() string {
|
|||
}
|
||||
|
||||
func (s *Do) combinedSql() string {
|
||||
return s.whereSql() + s.orderSql() + s.limitSql() + s.offsetSql() + s.groupSql() + s.havingSql()
|
||||
return s.whereSql() + s.groupSql() + s.havingSql() + s.orderSql() + s.limitSql() + s.offsetSql()
|
||||
}
|
||||
|
||||
func (s *Do) createTable() *Do {
|
||||
|
|
Loading…
Reference in New Issue