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

!8912 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-data-rdb.md.

Merge pull request !8912 from 葛亚芳/N/A
......@@ -1541,7 +1541,7 @@ remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: A
**示例:**
```js
let predicates = new rdb.RdbPredicates('EPLOYEE')
let predicates = new data_rdb.RdbPredicates('EPLOYEE')
predicates.greaterThan("id", 0)
rdbStore.remoteQuery("deviceId", "EPLOYEE", predicates, function(err, resultSet){
if (err) {
......@@ -1579,7 +1579,7 @@ remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: A
**示例:**
```js
let predicates = new rdb.RdbPredicates('EPLOYEE')
let predicates = new data_rdb.RdbPredicates('EPLOYEE')
predicates.greaterThan("id", 0)
let promise = rdbStore.remoteQuery("deviceId", "EMPLOYEE", predicates)
promise.then((resultSet) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册