Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
3cb22545
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3cb22545
编写于
3月 25, 2023
作者:
Y
ylq121
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xiugai
Signed-off-by:
N
ylq121
<
yangqing89@huawei.com
>
上级
70ce0dc6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
60 addition
and
60 deletion
+60
-60
zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md
...lication-dev/reference/apis/js-apis-distributedKVStore.md
+60
-60
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md
浏览文件 @
3cb22545
...
...
@@ -2108,11 +2108,11 @@ put(key: string, value: Uint8Array | string | number | boolean, callback: AsyncC
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 15100003 | Database corrupted.
|
| 15100005 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit.
|
**示例:**
...
...
@@ -2158,11 +2158,11 @@ put(key: string, value: Uint8Array | string | number | boolean): Promise<void
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2200,11 +2200,11 @@ putBatch(entries: Entry[], callback: AsyncCallback<void>): void
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2268,11 +2268,11 @@ putBatch(entries: Entry[]): Promise<void>
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2329,11 +2329,11 @@ putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>):
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2387,11 +2387,11 @@ putBatch(value: Array<ValuesBucket>): Promise<void>
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2438,9 +2438,9 @@ delete(key: string, callback: AsyncCallback<void>): void
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 14800047 | WAL file size exceeds the default limit|
**示例:**
...
...
@@ -2492,11 +2492,11 @@ delete(key: string): Promise<void>
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2543,9 +2543,9 @@ delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallb
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 14800047 | WAL file size exceeds the default limit|
**示例:**
...
...
@@ -2592,11 +2592,11 @@ delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2642,11 +2642,11 @@ deleteBatch(keys: string[], callback: AsyncCallback<void>): void
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -2711,11 +2711,11 @@ deleteBatch(keys: string[]): Promise<void>
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100003 | Database corrupted.
|
| 1510000
5 | Database or result set already closed.
|
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit.
|
| 1510000
3 | Database corrupted.
|
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -4046,10 +4046,10 @@ startTransaction(callback: AsyncCallback<void>): void
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100005 | Database or result set already closed
. |
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit
. |
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
@@ -4115,10 +4115,10 @@ startTransaction(): Promise<void>
以下错误码的详细介绍请参见
[
分布式键值数据库错误码
](
../errorcodes/errorcode-distributedKVStore.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| 1
5100005 | Database or result set already closed
. |
|
14800047 | WAL file size exceeds the default limit
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | --------------------------------------
--
|
| 1
4800047 | WAL file size exceeds the default limit
. |
|
15100005 | Database or result set already closed.
|
**示例:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录