Files
mindsdb--mindsdb/docs/mindsdb_sql/sql/drop/trigger.mdx
2024-04-30 15:08:17 +12:00

21 lines
633 B
Plaintext

---
title: Remove a Trigger
sidebarTitle: Remove a Trigger
---
## Description
Triggers enable users to define event-based actions. For example, if a table is updated, then run a query to update predictions.
<Info>
Currently, you can create triggers on the following data sources: [MongoDB](https://docs.mindsdb.com/integrations/data-integrations/mongodb), [Slack](https://docs.mindsdb.com/integrations/app-integrations/slack), [Solace](https://github.com/mindsdb/mindsdb/tree/main/mindsdb/integrations/handlers/solace_handler).
</Info>
## Syntax
Here is the syntax for removing a trigger:
```sql
DROP TRIGGER trigger_name;
```