Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
c6615094
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
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看板
未验证
提交
c6615094
编写于
7月 28, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 28, 2022
浏览文件
操作
浏览文件
下载
差异文件
!7274 master:type的统一修改:需同步翻译
Merge pull request !7274 from 葛亚芳/master
上级
6384a6ca
0cefc41e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
13 addition
and
15 deletion
+13
-15
zh-cn/application-dev/reference/apis/js-apis-data-ValuesBucket.md
...plication-dev/reference/apis/js-apis-data-ValuesBucket.md
+5
-6
zh-cn/application-dev/reference/apis/js-apis-data-ability.md
zh-cn/application-dev/reference/apis/js-apis-data-ability.md
+1
-1
zh-cn/application-dev/reference/apis/js-apis-data-preferences.md
...pplication-dev/reference/apis/js-apis-data-preferences.md
+1
-1
zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
+5
-6
zh-cn/application-dev/reference/apis/js-apis-data-storage.md
zh-cn/application-dev/reference/apis/js-apis-data-storage.md
+1
-1
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-data-ValuesBucket.md
浏览文件 @
c6615094
...
...
@@ -20,7 +20,7 @@ import { ValuesBucket } from '@ohos.data.ValuesBucket';
**系统能力:**
SystemCapability.DistributedDataManager.DataShare.Core
|
名称
| 说明 |
|
类型
| 说明 |
| ------- | -------------------- |
| number | 表示字段类型为数字。 |
| string | 表示字段类型为字符串。 |
...
...
@@ -28,11 +28,10 @@ import { ValuesBucket } from '@ohos.data.ValuesBucket';
## ValuesBucket
该类型用于存储一系列键值对
。
用于存储键值对的类型
。
**系统能力:**
SystemCapability.DistributedDataManager.DataShare.Core
| 名称 | 参数类型 | 必填 | 说明 |
| ------------- | --------------------------------------------- | ---- | ------------------------------------------------------------ |
|
[
key: string] | [ValueType
](
#valuetype
)
\|
Uint8Array
\|
null | 是 | 键的类型为字符串型;值的类型可以为数字、字符串、布尔值、无符号整型8位数组、空值。 |
| 键类型 | 值类型 |
| ------------- | --------------------------------------------- |
| string |
[
ValueType
](
#valuetype
)
\|
Uint8Array
\|
null |
zh-cn/application-dev/reference/apis/js-apis-data-ability.md
浏览文件 @
c6615094
...
...
@@ -789,7 +789,7 @@ notIn(field: string, value: Array<ValueType>): DataAbilityPredicates
**系统能力:**
SystemCapability.DistributedDataManager.DataShare.Core。
|
名称
| 说明 |
|
类型
| 说明 |
| ------- | -------------------- |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符。 |
...
...
zh-cn/application-dev/reference/apis/js-apis-data-preferences.md
浏览文件 @
c6615094
...
...
@@ -681,7 +681,7 @@ data_preferences.getPreferences(this.context, 'mystore', function (err, preferen
**系统能力:**
SystemCapability.DistributedDataManager.Preferences.Core
|
名称
| 说明 |
|
类型
| 说明 |
| -------------- | ------------------------------ |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符串。 |
...
...
zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
浏览文件 @
c6615094
...
...
@@ -1992,7 +1992,7 @@ try {
**系统能力:** 以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
|
名称
| 说明 |
|
类型
| 说明 |
| -------- | -------- |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符。 |
...
...
@@ -2001,14 +2001,13 @@ try {
## ValuesBucket
用于存储键值对。
用于存储键值对
的类型
。
**系统能力:** 以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
| 名称 | 参数类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| [key: string] | [ValueType](#valuetype)\| Uint8Array \| null | 是 | 用于存储键值对。 |
| 键类型 | 值类型 |
| -------- | -------- |
| string | [ValueType](#valuetype)\| Uint8Array \| null |
## SyncMode<sup>8+</sup>
...
...
zh-cn/application-dev/reference/apis/js-apis-data-storage.md
浏览文件 @
c6615094
...
...
@@ -793,7 +793,7 @@ off(type: 'change', callback: Callback<StorageObserver>): void
**系统能力:**
SystemCapability.DistributedDataManager.Preferences.Core
|
名称
| 说明 |
|
类型
| 说明 |
| ------- | -------------------- |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符。 |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录