ActionsclearDatabaseVersion: 4.59On this pageclearDatabase Resets the database data. By default, the data is retrieved again immediately. noteThis can be considered a nuke option as all previous data will be lost. Field Configurations KeyTypeDescriptionDefault Value"params"Objectundefinednull Parameters KeyTypeDescriptionDefault Value"async"BooleanSpecifies whether the action should perform asynchronously.null"reload"Boolean,StringSpecifies whether all sources should be retrieved directly.true Inherited From Base ActionBase ActionField ConfigurationsKeyTypeDescriptionDefault Value"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null"leadingDelimiter"StringThe leading mustache delimiter to use.null"params"Object,ArrayObject containing the properties of the action.null"trailingDelimiter"StringThe trailing mustache delimiter to use.null"type"StringType name of the action.null Examples Example 1: Clear a database Goal: Create a clearDatabase action clearing the database. To achieve this the following code can be used: { "type": "clearDatabase", "params": { "relaod": true }} The reload parameter specifies whether all sources should be retrieved directly. Result: A clearDatabase action has been created.