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