mongodb
This commit is contained in:
parent
3e052a9578
commit
110d8ea1ee
11
description/mongodb.js.md
Normal file
11
description/mongodb.js.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#mongodb.js说明
|
||||||
|
- 引入
|
||||||
|
- dbs = require("dir/mongodb.js")
|
||||||
|
- 使用
|
||||||
|
- add
|
||||||
|
```
|
||||||
|
参数('操作的集合名',数据集 {}[,{mongodburl,dbname}])
|
||||||
|
返回值类型 promise
|
||||||
|
成功返回 {code:0},
|
||||||
|
失败返回 {code:1}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user