Execute-entities is used to modify, create, and delete multiple rows in a specific table in a database.
An execute-entities action can be used in multiple areas:
- Under action button
- In action list
- In onPress/onChange events (if the component has these options)
- In onRefresh/onFocus
Execute-entities in action
Example: See the full example of execute-entities as an action in GitHub.
Execute-entities in action list
Example: See the full example of execute-entities in an action list in GitHub.
Deleting multiple data records using execute-entities
To delete multiple data records in a Dynamic data table use the execute entities action with an expression as shown below.
This code example is not in the jigx.samples solution in GitHub.