We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d5ef2 commit 66057eeCopy full SHA for 66057ee
oracle/query.go
@@ -57,9 +57,7 @@ func BeforeQuery(db *gorm.DB) {
57
name := db.Statement.TableExpr.SQL
58
if strings.Contains(name, " ") || strings.Contains(name, "`") {
59
if results := tableRegexp.FindStringSubmatch(name); len(results) == 3 {
60
- if results[2] != "" {
61
- db.Statement.Table = results[2]
62
- }
+ db.Statement.Table = results[2]
63
}
64
65
0 commit comments