Back to Mindsdb

Query Triggers

docs/mindsdb_sql/sql/query-triggers.mdx

26.1.0559 B
Original Source

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 querying all triggers:

sql
SHOW TRIGGERS;