未验证 提交 ff53570f 编写于 作者: O openharmony_ci 提交者: Gitee

!5434 【轻量级 PR】:master:update...

!5434 【轻量级 PR】:master:update zh-cn/application-dev/reference/apis/js-apis-data-ability.md:自动化测试问题修改,需同步翻译
Merge pull request !5434 from 葛亚芳/N/A
...@@ -619,13 +619,7 @@ distinct(): DataAbilityPredicates ...@@ -619,13 +619,7 @@ distinct(): DataAbilityPredicates
**示例:** **示例:**
```js ```js
dataAbilityPredicates.equalTo("NAME", "Rose").distinct("NAME") dataAbilityPredicates.equalTo("NAME", "Rose").distinct()
let promiseDistinct = rdbStore.query(predicates, ["NAME"])
promiseDistinct.then((resultSet) => {
console.log("distinct")
}).catch((err) => {
expect(null).assertFail();
})
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册