提交 98894afe 编写于 作者: Q qiang014 提交者: Gitee

!3 update docs/uniCloud/cf-database.md.

Merge pull request !3 from 只有我不在的街道/N/A
......@@ -1076,8 +1076,8 @@ db.collection("table1").doc("5f79fdb337d16d0001899566").remove()
### 更新指定文档
collection.doc().update(Object data)
> 未使用set、remove更新操作符的情况下,此方法不会删除字段,仅将更新数据和已有数据合并。
> 未使用set、remove更新操作符的情况下,此方法不会删除字段,仅将更新数据和已有数据合并。
**参数说明**
......@@ -2849,8 +2849,8 @@ let res = await db.collection('items').aggregate()
返回结果如下:
```js
{
"_id": "3",
"price": 20
"_id": "2",
"price": 50
}
{
"_id": "4",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册