anybody have any recommendations for how to run a ...
# help
m
anybody have any recommendations for how to run a webhook when a certain row is changed in the database?
g
There is an example in the javascript api on using realtime on a single row (or at least single if you can generate a query for it)
m
sorry, I mistyped before. I meant on a single column
g
If I recall you can get both the before and after values (a setting in the realtime call) if so then you could at a minimum trigger on table change and filter on that column changing. Depending on how much that table is changing might work for you. Other than that I don't recall anything, but I've not really looked into it.
An aside, you could always set up some sort of trigger and write to a "special" table with that column changing, then monitor that with realtime