1e41f4b71Sopenharmony_ci# DataAbilityOperation
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **DataAbilityOperation** 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.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci> 
7e41f4b71Sopenharmony_ci> 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.
8e41f4b71Sopenharmony_ci> The APIs of this module can be used only in the FA model.
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci## Modules to Import
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci```ts
13e41f4b71Sopenharmony_ciimport ability from '@ohos.ability.ability';
14e41f4b71Sopenharmony_ci```
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci## Attributes
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.AbilityRuntime.FAModel
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci| Name     | Template    | Read Only| Optional | Description      |
21e41f4b71Sopenharmony_ci| --------- | -------- |-----| ------| ---------- |
22e41f4b71Sopenharmony_ci| uri   | string | No |  No  | URI of the DataAbility. Example: 'dataability:///com.example.xxx.xxxx'. |
23e41f4b71Sopenharmony_ci| type   | [featureAbility.DataAbilityOperationType](js-apis-ability-featureAbility.md#dataabilityoperationtype7) | No | No  | Operation type. |
24e41f4b71Sopenharmony_ci| valuesBucket   |  [rdb.ValuesBucket](../apis-arkdata/js-apis-data-relationalStore.md#valuesbucket) | No | Yes   | Data value to set. |
25e41f4b71Sopenharmony_ci| valueBackReferences   | [rdb.ValuesBucket](../apis-arkdata/js-apis-data-relationalStore.md#valuesbucket) | No | Yes   | **ValuesBucket** object that contains a set of key-value pairs. |
26e41f4b71Sopenharmony_ci| 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. |
27e41f4b71Sopenharmony_ci| predicatesBackReferences   | Map\<number, number> | No | Yes   | Back references of the predicates. |
28e41f4b71Sopenharmony_ci| interrupted   | boolean | No | Yes   | Whether batch operations can be interrupted. |
29e41f4b71Sopenharmony_ci| expectedCount   | number | No | Yes   | Expected number of rows to be updated or deleted. |
30