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

!7274 master:type的统一修改:需同步翻译

Merge pull request !7274 from 葛亚芳/master
......@@ -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 |
......@@ -789,7 +789,7 @@ notIn(field: string, value: Array<ValueType>): DataAbilityPredicates
**系统能力:** SystemCapability.DistributedDataManager.DataShare.Core。
| 名称 | 说明 |
| 类型 | 说明 |
| ------- | -------------------- |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符。 |
......
......@@ -681,7 +681,7 @@ data_preferences.getPreferences(this.context, 'mystore', function (err, preferen
**系统能力:** SystemCapability.DistributedDataManager.Preferences.Core
| 名称 | 说明 |
| 类型 | 说明 |
| -------------- | ------------------------------ |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符串。 |
......
......@@ -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>
......
......@@ -793,7 +793,7 @@ off(type: 'change', callback: Callback&lt;StorageObserver&gt;): void
**系统能力:** SystemCapability.DistributedDataManager.Preferences.Core
| 名称 | 说明 |
| 类型 | 说明 |
| ------- | -------------------- |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符。 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册