'How to listen for new records in database with Sequelize?
I have a PostgreSQL database with Sequelize ORM and I want to listen for new entries. How should I do? Should I use Sequelize afterCreate
hook?
Can someone help me?
Solution 1:[1]
That's tricky the solution would be streaming. Either Apache Kafka.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Joshua Pchumba |