3 ms·
The first thing that comes to mind ist LISTEN/NOTIFY from postgres. You can listen per code and notify per code. https://www.postgresql.org/docs/current/sql-l
by _nhh 5y ago
The first thing that comes to mind ist LISTEN/NOTIFY from postgres.
You can listen per code and notify per code.
https://www.postgresql.org/docs/current/sql-listen.html https://www.postgresql.org/docs/current/sql-listen.html
The js adapter for pg can handle this: https://medium.com/@simon.white/postgres-publish-subscribe-with-nodejs-996a7e45f88 https://medium.com/@simon.white/postgres-publish-subscribe-w...
- _nhh 5y agoOh and you can also create triggers and notify based on that.