I have a sql query
SELECT COUNT(*)
FROM (SELECT *
FROM recipes
WHERE lock != '') AS count
and I want a notification whenever the result changes. It would be ideal when I only get a notification when the value is 0 or >0. Does anyone has a solution approach?