Delete Records
This action will delete one or more records from a given collection by using a supplied unique id or a filter.
Settings
The action uses the following settings:
Setting | Description | |
Bot | The bot that is providing collection access. The current bot is selected by default. | |
Collection | The collection to be used for the action | |
Record Unique Id | The unique id of the record to be deleted. If left empty, Filter Operations will be used instead. |
Remarks
If no unique id is specified, this action will delete all records that satisfy the given filters. Records are physically deleted from the collection with no way to retrieve them.
If no unique id and not filters are specified, the action won't execute.
Trigger
If no unique id is specified, this action will trigger all filters added as operations.
Variables
This action produces the following variables after being triggered:
Variable | Description |
last_database_command_count | Contains the number of records that have been deleted from the selected collection. |
Availability
Channel specific availability follows the table below:
Channel | Availability |
Fully Available. | |
Fully Available. | |
SMS | Fully Available. |
Telegram | Fully Available. |
Web | Fully Available. |
Alexa | Fully Available. |
Google Assistant | Fully Available. |
Slack | Fully Available. |
API | Fully Available. |
This action requires an active Database package.
Last updated