未验证 提交 791584ef 编写于 作者: 葛亚芳 提交者: Gitee

master:update zh-cn/application-dev/reference/apis/js-apis-data-ability.md:自动化测试问题修改,需同步翻译

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 c5345c22
...@@ -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.
先完成此消息的编辑!
想要评论请 注册