update method CombinedConditionSql

This commit is contained in:
Jinzhu 2014-01-29 08:55:45 +08:00
parent 036df5f46b
commit 31247c577d
1 changed files with 3 additions and 2 deletions

View File

@ -236,8 +236,9 @@ func (scope *Scope) TableName() string {
}
}
func (s *Scope) CombinedConditionSql() string {
return s.joinsSql() + s.whereSql() + s.groupSql() + s.havingSql() + s.orderSql() + s.limitSql() + s.offsetSql()
func (scope *Scope) CombinedConditionSql() string {
return scope.joinsSql() + scope.whereSql() + scope.groupSql() +
scope.havingSql() + scope.orderSql() + scope.limitSql() + scope.offsetSql()
}
func (scope *Scope) SqlTagForField(field *Field) (tag string) {