init orm project, beta, unstable

This commit is contained in:
slene
2013-07-30 20:32:38 +08:00
parent ccbf116fd6
commit bce35c708a
23 changed files with 4220 additions and 0 deletions

15
orm/db_mysql.go Normal file
View 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
}