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

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

Merge pull request !3769 from Cap_W/master
...@@ -391,12 +391,12 @@ close(): void ...@@ -391,12 +391,12 @@ close(): void
- 示例: - 示例:
```js ```js
let predicatesclose = new dataRdb.RdbPredicates("EMPLOYEE") let predicatesClose = new dataRdb.RdbPredicates("EMPLOYEE")
let predicatesclose = rdbStore.query(predicatesclose, ["ID", "NAME", "AGE", "SALARY", "CODES"]) let promiseClose = rdbStore.query(predicatesClose, ["ID", "NAME", "AGE", "SALARY", "CODES"])
promisequerygoPrev.then((resultSet) { promiseClose.then((resultSet) {
resultSet.close() resultSet.close()
}).catch((err) => { }).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.
先完成此消息的编辑!
想要评论请 注册