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