提交 c4bf7e53 编写于 作者: 雪洛's avatar 雪洛

Merge branch 'master' of https://github.com/dcloudio/uni-app

......@@ -82,17 +82,18 @@ const collection = db.collection('user');
| 类型 | 接口 | 说明 |
| -------- | ---- | ---------------------------------- |
| 比较运算 | eq | 字段 == |
| | neq | 字段 != |
| | gt | 字段 > |
| | gte | 字段 >= |
| | lt | 字段 < |
| | lte | 字段 <= |
| 比较运算 | eq | 字段等于 == |
| | neq | 字段不等于 != |
| | gt | 字段大于 > |
| | gte | 字段大于等于 >= |
| | lt | 字段小于 < |
| | lte | 字段小于等于 <= |
| | in | 字段值在数组里 |
| | nin | 字段值不在数组里 |
| 逻辑运算 | and | 表示需同时满足指定的所有条件 |
| | or | 表示需同时满足指定条件中的至少一个 |
如果你熟悉SQL,可查询[mongodb与sql语句对照表](https://blog.csdn.net/xinghebuluo/article/details/7012788/)进行学习。
### 字段更新指令 Update Command
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册