未验证 提交 885f5f1e 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md.

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 967968a0
......@@ -1288,7 +1288,7 @@ try {
console.info(`query is ${query.getSqlLike()}`);
query = null;
} catch (e) {
console.error(`duplicated calls should be ok.ode is ${e.code},message is ${e.message}`);
console.error(`duplicated calls should be ok.code is ${e.code},message is ${e.message}`);
}
```
......@@ -4262,7 +4262,7 @@ try {
console.error(`Failed to commit.code is ${err.code},message is ${err.message}`);
});
} catch (e) {
console.error(`An unexpected error occurred.ode is ${e.code},message is ${e.message}`);
console.error(`An unexpected error occurred.code is ${e.code},message is ${e.message}`);
}
```
......@@ -6637,7 +6637,6 @@ try {
return;
}
console.info('Succeeded in getting resultSize');
;
});
});
} catch (e) {
......@@ -6704,7 +6703,6 @@ try {
query.prefixKey("batch_test");
kvStore.getResultSize('localDeviceId', query).then((resultSize) => {
console.info('Succeeded in getting resultSize');
;
}).catch((err) => {
console.error(`Failed to get resultSize.code is ${err.code},message is ${err.message}`);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册