a
This commit is contained in:
parent
dab90ad48d
commit
82a86f8b31
@ -2,10 +2,10 @@
|
||||
- 引入
|
||||
- dbs = require("dir/mongodb.js")
|
||||
- 使用 <br>
|
||||
add <br>
|
||||
```
|
||||
参数('操作的集合名',数据集 {}[,{mongodburl,dbname}])
|
||||
返回值类型 promise
|
||||
成功返回 {code:0},
|
||||
失败返回 {code:1}
|
||||
```
|
||||
add <br>
|
||||
```
|
||||
参数(操作的集合名,数据集 {}[,{mongodburl,dbname}])
|
||||
返回值类型 promise
|
||||
成功返回 {code:0},
|
||||
失败返回 {code:1}
|
||||
```
|
Loading…
Reference in New Issue
Block a user