egg-sequelize 如何支持 oracle?

Created on 24 Nov 2017  ·  6Comments  ·  Source: eggjs/egg

没找到用例和对应的 oracle包 ,有提示么?

egg-sequelize

Most helpful comment

kenx只是个sql builder,最后的执行、数据库连接都是依赖 strong-oracle 或者 oracle,所以稳定性都是由这些驱动来决定的。 (http://knexjs.org/ 详见oracle驱动)

All 6 comments

如果 sequelize 官方支持,我们就能使用,不支持的话就没办法。

@atian25 那egg 我想连接 oracle 应该怎么做?

如果没有 sequelize 对应的 dialect 驱动的话,那只能自己找个 oracle 的 nodejs 类库,然后参考 egg-mysql 封装了。

@solarhell 有经过项目使用?怕有坑 维护周期看上去并不活跃啊

kenx只是个sql builder,最后的执行、数据库连接都是依赖 strong-oracle 或者 oracle,所以稳定性都是由这些驱动来决定的。 (http://knexjs.org/ 详见oracle驱动)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jtyjty99999 picture jtyjty99999  ·  52Comments

fengmk2 picture fengmk2  ·  51Comments

atian25 picture atian25  ·  68Comments

zrxisme picture zrxisme  ·  44Comments

kkys4bfgp75be9p picture kkys4bfgp75be9p  ·  36Comments