1# DataAbilityOperation 2<!--Kit: Ability Kit--> 3<!--Subsystem: Ability--> 4<!--Owner: @xialiangwei--> 5<!--Designer: @jsjzju--> 6<!--Tester: @lixueqing513--> 7<!--Adviser: @huipeizi--> 8 9The module defines the operation on DataAbilities. It can be used as an input parameter of [executeBatch](js-apis-inner-ability-dataAbilityHelper.md#dataabilityhelperexecutebatch) to specify the database operation information. 10 11> **NOTE** 12> 13> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. 14> 15> The APIs of this module can be used only in the FA model. 16 17## Modules to Import 18 19```ts 20import ability from '@ohos.ability.ability'; 21``` 22 23## Attributes 24 25**System capability**: SystemCapability.Ability.AbilityRuntime.FAModel 26 27| Name | Template | Read Only| Optional | Description | 28| --------- | -------- |-----| ------| ---------- | 29| uri | string | No | No | URI of the DataAbility. Example: 'dataability:///com.example.xxx.xxxx'. | 30| type | [featureAbility.DataAbilityOperationType](js-apis-ability-featureAbility.md#dataabilityoperationtype7) | No | No | Operation type. | 31| valuesBucket | [rdb.ValuesBucket](../apis-arkdata/arkts-apis-data-relationalStore-t.md#valuesbucket) | No | Yes | Data value to set. | 32| valueBackReferences | [rdb.ValuesBucket](../apis-arkdata/arkts-apis-data-relationalStore-t.md#valuesbucket) | No | Yes | ValuesBucket object that contains a set of key-value pairs. | 33| predicates | [dataAbility.DataAbilityPredicates](../apis-arkdata/js-apis-data-ability.md#dataabilitypredicates) | No | Yes | Predicates to set. If no predicate is set, all data records are displayed. | 34| predicatesBackReferences | Map\<number, number> | No | Yes | Back references of the predicates. | 35| interrupted | boolean | No | Yes | Whether batch operations can be interrupted. **true** if batch operations can be interrupted, **false** otherwise.| 36| expectedCount | number | No | Yes | Expected number of rows to be updated or deleted. | 37