execute-entity
Execute-entity can save, update, or delete data in a single row from a database, depending on the chosen method. Each datasource type (Dynamic / SQL / REST) will have a different syntax for updating, saving, and deleting data.
For the Dynamic datasource, values will be saved under the data option. For SQL/REST datasource, values will be saved under the functionParameters option.
This action can't be used if you are using Static Data.
An execute-entity action can be used in multiple areas:
- Under the action button
- In action list
- In onPress/onChange events (if the component you are setting up has these options)
- In onRefresh/onFocus
Dealing with offline remote data is fundamental to ensuring data synchronization and consistency between the mobile app and the remote data source, allowing users to continue using the app and performing actions without interruption. Offline remote data handling explains how to configure solutions to deal with data when the device is offline using the queueOperations property available in execute-entities and provides examples and code samples.