1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 21:30:54 +00:00

add more oracle alias

This commit is contained in:
astaxie 2017-04-24 21:36:07 +08:00
parent 41aac79ac0
commit e810f2e930

View File

@ -60,6 +60,8 @@ var (
"sqlite3": DRSqlite, "sqlite3": DRSqlite,
"tidb": DRTiDB, "tidb": DRTiDB,
"oracle": DROracle, "oracle": DROracle,
"oci8": DROracle, // github.com/mattn/go-oci8
"ora": DROracle, //https://github.com/rana/ora
} }
dbBasers = map[DriverType]dbBaser{ dbBasers = map[DriverType]dbBaser{
DRMySQL: newdbBaseMysql(), DRMySQL: newdbBaseMysql(),