diff --git a/scope.go b/scope.go index 059432a6..15380d8f 100644 --- a/scope.go +++ b/scope.go @@ -1455,6 +1455,7 @@ func (scope *Scope) hasConditions() bool { len(scope.Search.notConditions) > 0 } +// isOracle gives a scope an easy way to determine if the dialect uses Oracle for its RMDBS, since oracle could have multiple dialects for different drivers. func (scope *Scope) isOracle() bool { return scope.Dialect().GetName() == "oci8" }