Open dagmawig opened 3 months ago
First version of library published at https://www.npmjs.com/package/pg-sub-noti
So far the library expects the postgres DB to already be set up to have a table
under a schema
.
It also expects the table
to have an insert trigger
that calls a function
on the schema
that executes pg notify
.
npm package
onnpmjs
.subscribe
,publish
andfetch
functionality for message.dispatch
andsubscription
.