postgres-watcher:观察你的 PostgreSQL 表的变化

时间:2021-06-12 15:05:12
【文件属性】:
文件名称:postgres-watcher:观察你的 PostgreSQL 表的变化
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-12 15:05:12
JavaScript postgres 观察者 监视您的 PostgreSQL 数据库的变化。 在使用此模块之前,您需要设置一些触发器,例如使用 。 受到的。 该模块处于早期阶段。 欢迎反馈和 PR! 安装 npm i postgres-watcher 用法 (API) 这个模块基本上是一个事件发射器。 除了它应该是一个 JSON 对象之外,它不会对您的触发器有效负载做任何假设。 const Watcher = require ( 'postgres-watcher' ) const watcher = Watcher ( { db : 'postgres://foo@localhost:5432/db' , channel : 'table_update' , // optional // optional filter function. // only payloads wh
【文件预览】:
postgres-watcher-master
----.npmignore(5B)
----.travis.yml(264B)
----test()
--------test.js(3KB)
----.gitignore(18B)
----index.js(1KB)
----readme.md(2KB)
----package.json(868B)

网友评论