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

kylezhang picture kylezhang  ·  3Comments

Webjiacheng picture Webjiacheng  ·  3Comments

lvgg3271 picture lvgg3271  ·  3Comments

Azard picture Azard  ·  3Comments

wujianling picture wujianling  ·  3Comments