ramon
ramon11mo ago

Triggers

Is it possible to subscribe on the backend side? I'm thinking of chained that get triggered if an upstream dependency changes. Sort of like a DAG like in Airflow, that when a dependency changes it markes downstream tasks as stale and re runs them.
2 Replies
Michal Srb
Michal Srb11mo ago
Not at the moment, we recommend people trigger or schedule mutations or actions directly from their mutation callsites.
lee
lee5mo ago
that ^ works great, and here's a new option: https://stack.convex.dev/triggers
Database Triggers
Triggers automatically run code whenever data in a table changes. A library in the convex-helpers npm package allows you to attach trigger functions t...

Did you find this page helpful?