[Database Webhooks] Trigger webhook on materialized view refresh?
Can a materialized view refresh trigger a Database webhook? I'd like to set up a webhook that fires whenever my materialized view updates. Is this possible with Supabase's Database webhooks feature?
1 Reply
webhooks are just a trigger calling pg_net. So you can certainly do the same thing IF you can figure out a trigger function that works for what you want. Triggers on materialized views would all be pure postgres so should be info on the web.