mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
docs: ash actions are run in transaction (#1093)
This commit is contained in:
parent
06d7231458
commit
bacc147837
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ In Ash, actions are the primary way to interact with your resources. There are f
|
||||||
* [Destroy](documentation/topics/actions/destroy-actions.md)
|
* [Destroy](documentation/topics/actions/destroy-actions.md)
|
||||||
* [Generic](documentation/topics/actions/generic-actions.md)
|
* [Generic](documentation/topics/actions/generic-actions.md)
|
||||||
|
|
||||||
Each action has its own set of options, ways of calling it, and ways of customizing it. See the relevant guide for specifics on each action type. This topic focuses on idiomatic ways to use actions, and concepts that cross all action types.
|
All actions can be run in a transaction. Create, update and destroy actions are run in a transaction by _default_, whereas read and generic actions require opting in with `transaction? true` in the action definition. Each action has its own set of options, ways of calling it, and ways of customizing it. See the relevant guide for specifics on each action type. This topic focuses on idiomatic ways to use actions, and concepts that cross all action types.
|
||||||
|
|
||||||
## Primary Actions
|
## Primary Actions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue