Update callback_query.go

comments
This commit is contained in:
gstvg 2018-05-31 17:29:24 -03:00 committed by GitHub
parent 56714685fa
commit e278db3bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ func queryCallback(scope *Scope) {
return
}
//we are only preloading relations, dont touch base model
if _, skip := scope.InstanceGet("gorm:only_preload"); skip {
return
}