data-service:MongoDB数据服务

时间:2021-05-13 16:58:38
【文件属性】:
文件名称:data-service:MongoDB数据服务
文件大小:112KB
文件格式:ZIP
更新时间:2021-05-13 16:58:38
compass-tools JavaScript mongodb数据服务 MongoDB数据服务:位于(当前) 和(有时) 之上的API。 安装 npm install --save mongodb-data-service 用法 实例化服务。 const Connection = require ( 'mongodb-connection-model' ) ; const DataService = require ( 'mongodb-data-service' ) ; var service = new DataService ( new Connection ( { hostname : '127.0.0.1' , port : 27018 , ns : 'data-service' } ) ) ; 连接到服务器。 服务准备就绪后,它还将发出一个readable事件。 service . c
【文件预览】:
data-service-master
----.eslintrc(417B)
----index.js(48B)
----package.json(2KB)
----.github()
--------PULL_REQUEST_TEMPLATE.md(1KB)
--------ISSUE_TEMPLATE()
--------workflows()
----test()
--------helper.js(837B)
--------instance-detail-helper.test.js(3KB)
--------data-service.test.js(25KB)
--------native-client.test.js(35KB)
--------fixtures.js(12KB)
--------instance-detail-helper-mocked.test.js(23KB)
----LICENSE(10KB)
----package-lock.json(265KB)
----.npmignore(25B)
----.depcheckrc(28B)
----.gitignore(95B)
----lib()
--------data-service.js(17KB)
--------instance-detail-helper.js(19KB)
--------native-client.js(36KB)
----README.md(4KB)

网友评论