Update callback_query.go
comments
This commit is contained in:
parent
56714685fa
commit
e278db3bcf
@ -18,7 +18,8 @@ func queryCallback(scope *Scope) {
|
||||
if _, skip := scope.InstanceGet("gorm:skip_query_callback"); skip {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
//we are only preloading relations, dont touch base model
|
||||
if _, skip := scope.InstanceGet("gorm:only_preload"); skip {
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user