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