rethinkdb fake connection:懒惰的连接助手
rethinkdb-假连接帮助承诺连接到rethinkdb数据库的模块。安装此模块没有npm包,请手动使用package.json npm install --save YChebotaev/rethinkdb-fake-connection用法var r = require ( 'rethinkdb' ) ; require ( 'rethinkdb-fake-connection' ) . patch ( r ) ; var fakeConnection = r . connect ( ) ; r . dbList ( ) . run ( fakeConnection , function ( err , dbList ) { console . log ( err , dbList ) ; // null, ["test"] } ) ;假连接#then
文件列表
rethinkdb-fake-connection-master.zip
(预估有个5文件)
rethinkdb-fake-connection-master
.gitignore
883B
package.json
63B
LICENSE
1KB
index.js
2KB
readme.md
3KB
暂无评论