Table Watchdog in MySQL #1659
Unanswered
shahiakhilesh1304
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Would it be possible to implement a watchdog mechanism in MySQL tables similar to MongoDB's document change streams? With such a feature, a user could set a watchdog to receive acknowledgments whenever an update occurs on a table. This would allow developers to trigger their application logic or proceed with their code only after receiving the update acknowledgment.
Example Use Case
In MongoDB, developers can utilize a watchdog to monitor document changes, and it would be great to achieve similar functionality with MySQL tables.
Example Code
Here’s a conceptual example based on MongoDB's document watchdog:
The idea is to have a some what similar implementation or workaround for MySQL tables, allowing developers to monitor and react to table updates efficiently.
Help me to understand what could go wrong if this solution dosen't look good
Beta Was this translation helpful? Give feedback.
All reactions