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

!3772 修改 resultSet API样例中单词拼写错误

Merge pull request !3772 from Cap_W/cherry-pick-1652077822
......@@ -391,12 +391,12 @@ close(): void
- 示例:
```js
let predicatesclose = new dataRdb.RdbPredicates("EMPLOYEE")
let predicatesclose = rdbStore.query(predicatesclose, ["ID", "NAME", "AGE", "SALARY", "CODES"])
promisequerygoPrev.then((resultSet) {
let predicatesClose = new dataRdb.RdbPredicates("EMPLOYEE")
let promiseClose = rdbStore.query(predicatesClose, ["ID", "NAME", "AGE", "SALARY", "CODES"])
promiseClose.then((resultSet) {
resultSet.close()
}).catch((err) => {
console.log('query failed')
console.log('resultset close failed')
})
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册