From b85e1c548fb511e746bdd74bcda3daf06297e5f2 Mon Sep 17 00:00:00 2001 From: Jim Lambert Date: Sat, 15 Feb 2020 11:33:42 -0500 Subject: [PATCH] comment documentation --- scope.go | 1 + 1 file changed, 1 insertion(+) 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" }