comment documentation

This commit is contained in:
Jim Lambert 2020-02-15 11:33:42 -05:00
parent 62d74645c9
commit b85e1c548f

View File

@ -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"
}