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

docs: 更新uniCloud jql

上级 cffc87c8
...@@ -730,10 +730,12 @@ skip ...@@ -730,10 +730,12 @@ skip
limit limit
``` ```
```js **临时表内如果使用field进行字段过滤需要保留关联字段**
const article = db.collection('article').where('article_id=="1"').field('title').getTemp() // 此处过滤article表,仅保留title字段。会导致下一步查询时找不到关联关系而查询失败
const res = await db.collection(article, 'comment').get() ```js
``` const article = db.collection('article').where('article_id=="1"').field('title').getTemp() // 此处过滤article表,仅保留title字段。会导致下一步查询时找不到关联关系而查询失败
const res = await db.collection(article, 'comment').get()
```
**组合出来的虚拟联表查询时可以使用的方法** **组合出来的虚拟联表查询时可以使用的方法**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册