mongojs:实现官方mongo api的Node.js模块 源码
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
下载地址
用户评论