init orm project, beta, unstable
This commit is contained in:
15
orm/db_mysql.go
Normal file
15
orm/db_mysql.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package orm
|
||||
|
||||
type dbBaseMysql struct {
|
||||
dbBase
|
||||
}
|
||||
|
||||
func (d *dbBaseMysql) GetOperatorSql(mi *modelInfo, operator string, args []interface{}) (sql string, params []interface{}) {
|
||||
return d.dbBase.GetOperatorSql(mi, operator, args)
|
||||
}
|
||||
|
||||
func newdbBaseMysql() dbBaser {
|
||||
b := new(dbBaseMysql)
|
||||
b.ins = b
|
||||
return b
|
||||
}
|
||||
Reference in New Issue
Block a user