comment documentation
This commit is contained in:
parent
62d74645c9
commit
b85e1c548f
1
scope.go
1
scope.go
@ -1455,6 +1455,7 @@ func (scope *Scope) hasConditions() bool {
|
|||||||
len(scope.Search.notConditions) > 0
|
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 {
|
func (scope *Scope) isOracle() bool {
|
||||||
return scope.Dialect().GetName() == "oci8"
|
return scope.Dialect().GetName() == "oci8"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user