forked from mirror/gorm
update method CombinedConditionSql
This commit is contained in:
parent
036df5f46b
commit
31247c577d
5
scope.go
5
scope.go
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue