提交 84b0513c 编写于 作者: qq_42164615's avatar qq_42164615 提交者: qiang014

!115 update docs/uniCloud/cf-database-dbcmd.md.

* update docs/uniCloud/cf-database-dbcmd.md.
上级 0a81e955
......@@ -725,7 +725,7 @@ let res = await db.collection('items').where(dbCmd.expr($.gt(['$ordered', '$inSt
"price": number
}
```
假设加个小于等于 10 的打 8 折,大于 10 的打 5 折,让数据库查询返回打折后价格小于等于 8 的记录:
假设价格小于等于 10 的打 8 折,大于 10 的打 5 折,让数据库查询返回打折后价格小于等于 8 的记录:
```js
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册