提交 314c6d32 编写于 作者: W wuyongning

ohos update files

Signed-off-by: Nwuyongning <wuyongning@huawei.com>

 Changes to be committed:
	modified:   zh-cn/application-dev/reference/apis/js-apis-data-ability.md
	modified:   zh-cn/application-dev/reference/apis/js-apis-data-distributedobject.md
	modified:   zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
	modified:   zh-cn/application-dev/reference/apis/js-apis-data-resultset.md
上级 4dfb8986
......@@ -19,7 +19,7 @@ createRdbPredicates(name: string, dataAbilityPredicates: DataAbilityPredicates):
从DataAabilityPredicates对象创建RdbPredicates对象。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -53,7 +53,7 @@ equalTo(field: string, value: ValueType): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType且值等于指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -81,7 +81,7 @@ notEqualTo(field: string, value: ValueType): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType且值不等于指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -109,7 +109,7 @@ beginWrap(): DataAbilityPredicates
向谓词添加左括号。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 返回值:
| 类型 | 说明 |
......@@ -136,7 +136,7 @@ endWrap(): DataAbilityPredicates
向谓词添加右括号。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 返回值:
| 类型 | 说明 |
......@@ -163,7 +163,7 @@ or(): DataAbilityPredicates
将或条件添加到谓词中。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 返回值:
| 类型 | 说明 |
......@@ -187,7 +187,7 @@ and(): DataAbilityPredicates
向谓词添加和条件。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 返回值:
| 类型 | 说明 |
......@@ -211,7 +211,7 @@ contains(field: string, value: string): DataAbilityPredicates
配置谓词以匹配数据类型为String且value包含指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -239,7 +239,7 @@ beginsWith(field: string, value: string): DataAbilityPredicates
配置谓词以匹配数据类型为String且值以指定字符串开头的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -267,7 +267,7 @@ endsWith(field: string, value: string): DataAbilityPredicates
配置谓词以匹配数据类型为String且值以指定字符串结尾的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -295,7 +295,7 @@ isNull(field: string): DataAbilityPredicates
配置谓词以匹配值为null的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -322,7 +322,7 @@ isNotNull(field: string): DataAbilityPredicates
配置谓词以匹配值不为null的指定字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -349,7 +349,7 @@ like(field: string, value: string): DataAbilityPredicates
配置谓词以匹配数据类型为string且值类似于指定字符串的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -377,7 +377,7 @@ glob(field: string, value: string): DataAbilityPredicates
配置谓词匹配数据类型为string的指定字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -405,7 +405,7 @@ between(field: string, low: ValueType, high: ValueType): DataAbilityPredicates
将谓词配置为匹配数据类型为ValueType且value在指定范围内的指定字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -434,7 +434,7 @@ notBetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicate
配置谓词以匹配数据类型为ValueType且value超出给定范围的指定字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -463,7 +463,7 @@ greaterThan(field: string, value: ValueType): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType且值大于指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -491,7 +491,7 @@ lessThan(field: string, value: ValueType): DataAbilityPredicates
配置谓词以匹配数据类型为valueType且value小于指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -519,7 +519,7 @@ greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType且value大于或等于指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -547,7 +547,7 @@ lessThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType且value小于或等于指定值的字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -575,7 +575,7 @@ orderByAsc(field: string): DataAbilityPredicates
配置谓词以匹配其值按升序排序的列。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -602,7 +602,7 @@ orderByDesc(field: string): DataAbilityPredicates
配置谓词以匹配其值按降序排序的列。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -629,7 +629,7 @@ distinct(): DataAbilityPredicates
配置谓词以过滤重复记录并仅保留其中一个。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 返回值:
| 类型 | 说明 |
......@@ -652,7 +652,7 @@ limitAs(value: number): DataAbilityPredicates
设置最大数据记录数的谓词。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -679,7 +679,7 @@ offsetAs(rowOffset: number): DataAbilityPredicates
配置谓词以指定返回结果的起始位置。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -706,7 +706,7 @@ groupBy(fields: Array&lt;string&gt;): DataAbilityPredicates
配置谓词按指定列分组查询结果。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -735,7 +735,7 @@ in(field: string, value: Array&lt;ValueType&gt;): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType数组且值在给定范围内的指定字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -764,7 +764,7 @@ notIn(field: string, value: Array&lt;ValueType&gt;): DataAbilityPredicates
配置谓词以匹配数据类型为ValueType数组且值不在给定范围内的指定字段。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataShare.Core。
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......
......@@ -19,7 +19,7 @@ createDistributedObject(source: object): DistributedObject
创建一个分布式对象distributedObject,用户可以通过source指定分布式对象中的属性,属性支持基本类型以及复杂类型,返回值是创建好的分布式对象。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -41,7 +41,7 @@ genSessionId(): string
随机创建一个sessionId,返回值是随机创建的sessionId。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 返回值:
| 类型 | 说明 |
......@@ -64,7 +64,7 @@ setSessionId(sessionId?: string): boolean
设置同步的sessionId,当可信组网中有多个设备时,多个设备间的对象如果设置为同一个sessionId,就能自动同步。sessionId是指定的sessionId,如果要退出分布式组网,设置为""或不设置均可。结果以boolean形式返回,true标识设置sessionId成功
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -89,7 +89,7 @@ on(type: 'change', callback: Callback<{ sessionId: string, fields: Array&lt;stri
监听分布式对象的变更,type需固定为'change',callback是变更时触发的回调,回调参数sessionId标识变更对象的sessionId,fields标识对象变更的属性名
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -120,7 +120,7 @@ off(type: 'change', callback?: Callback<{ sessionId: string, fields: Array&lt;st
当不再进行数据变更监听时,使用此接口删除对象的变更监听,type固定为'change',callback为可选参数,若不设置则表示删除该对象所有的变更监听
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -151,7 +151,7 @@ on(type: 'status', callback: Callback<{ sessionId: string, networkId: string, st
监听分布式对象的上下线,type需固定为'status',callback是分布式对象上下线时触发的回调,回调参数sessionId标识变更对象的sessionId,networkId标识对象设备的networkId,status标识对象为'online'(上线)或'offline'(下线)的状态
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -178,7 +178,7 @@ off(type: 'status', callback?: Callback<{ sessionId: string, deviceId: string, s
当不再进行对象上下线监听时,使用此接口删除对象的上下线监听,type固定为'status',callback为可选参数,若不设置则表示删除该对象所有的上下线监听
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.DataObject.DistributedObject。
**系统能力**:SystemCapability.DistributedDataManager.DataObject.DistributedObject。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......
......@@ -50,7 +50,7 @@ getColumnIndex(columnName: string): number
根据指定的列名获取列索引。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -78,7 +78,7 @@ getColumnName(columnIndex: number): string
根据指定的列索引获取列名。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -104,7 +104,7 @@ goTo(offset:number): boolean
向前或向后转至结果集的指定行,相对于其当前位置偏移。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -132,7 +132,7 @@ goToRow(position: number): boolean
转到结果集的指定行。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -161,7 +161,7 @@ goToFirstRow(): boolean
转到结果集的第一行。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 返回值:
| 类型 | 说明 |
......@@ -184,7 +184,7 @@ goToLastRow(): boolean
转到结果集的最后一行。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 返回值:
| 类型 | 说明 |
......@@ -207,7 +207,7 @@ goToNextRow(): boolean
转到结果集的下一行。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 返回值:
| 类型 | 说明 |
......@@ -230,7 +230,7 @@ goToPreviousRow(): boolean
转到结果集的上一行。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 返回值:
| 类型 | 说明 |
......@@ -253,7 +253,7 @@ getBlob(columnIndex: number): Uint8Array
以字节数组的形式获取当前行中指定列的值。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -277,7 +277,7 @@ getString(columnIndex: number): string
以字符串形式获取当前行中指定列的值。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -301,7 +301,7 @@ getLong(columnIndex: number): number
以Long形式获取当前行中指定列的值。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -325,7 +325,7 @@ getDouble(columnIndex: number): number
以double形式获取当前行中指定列的值。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -349,7 +349,7 @@ isColumnNull(columnIndex: number): boolean
检查当前行中指定列的值是否为null。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 参数:
| 参数名 | 类型 | 必填 | 说明 |
......@@ -373,7 +373,7 @@ close(): void
关闭结果集。
**系统能力**以下各项对应的系统能力均为SystemCapability.DistributedDataManager.RelationalStore.Core。
**系统能力**:SystemCapability.DistributedDataManager.RelationalStore.Core。
- 示例:
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册