1. 首页
  2. 数据库
  3. 其它
  4. mongojs:实现官方mongo api的Node.js模块 源码

mongojs:实现官方mongo api的Node.js模块 源码

上传者: 2021-02-06 05:17:06上传 ZIP文件 102.29KB 热度 9次
mongojs mongodb的模块,它尽可能地模仿 。 它包装了 ,可通过 npm install mongojs 用法 mongojs易于使用: const mongojs = require ( 'mongojs' ) const db = mongojs ( connectionString , [ collections ] ) 连接字符串应遵循描述的格式。 例如: // simple usage for a local db const db = mongojs ( 'mydb' , [ 'mycollection' ] ) // the db is on a remote
下载地址
用户评论