diff --git a/orm/db.go b/orm/db.go index 7d4833e2..84d1b9ae 100644 --- a/orm/db.go +++ b/orm/db.go @@ -1304,6 +1304,10 @@ func (d *dbBase) GetColumns(db dbQuerier, table string) (map[string][3]string, e return columns, nil } +func (d *dbBase) OperatorSql(operator string) string { + panic(ErrNotImplement) +} + func (d *dbBase) ShowTablesQuery() string { panic(ErrNotImplement) } diff --git a/orm/db_oracle.go b/orm/db_oracle.go index 3769e07c..ca1715ef 100644 --- a/orm/db_oracle.go +++ b/orm/db_oracle.go @@ -6,10 +6,6 @@ type dbBaseOracle struct { var _ dbBaser = new(dbBaseOracle) -func (d *dbBase) OperatorSql(operator string) string { - return "" -} - func newdbBaseOracle() dbBaser { b := new(dbBaseOracle) b.ins = b