add ks-iam and ks-apigateway
Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
5
vendor/github.com/jinzhu/gorm/callback_query.go
generated
vendored
5
vendor/github.com/jinzhu/gorm/callback_query.go
generated
vendored
@@ -18,6 +18,11 @@ 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
|
||||
}
|
||||
|
||||
defer scope.trace(NowFunc())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user