Node.js 数据库实时监控库 node-dbmon

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-16 11:13:47

软件介绍

node-dbmon 是一个 Node.js 数据库实时监控库,如果你希望在数据库表数据更改后,或者是文件修改后能更新 GUI,那么这个库正好适合你。

示例代码:

var pg=require('pg'), cli=new pg.Client('tcp://postgres@localhost/template1'), dbmon=require('dbmon');

cli.connect();
//uncomment if you want node to create the temporary table for you
//cli.query('drop table if exists testtable; create table testtable(id integer primary key, val varchar(10));');

var channel=dbmon.channel({
  driver:'postgresql',
  driverOpts:{
    postgresql:{
      cli:cli
    }
  },
  table:'testtable',
  monitor:'all',
  keyfld:{
    name:'id',type:'integer'
  }
});

本文地址:https://codercto.com/soft/d/3697.html

MATLAB实用教程

MATLAB实用教程

穆尔(Holly Moore) / 高会生 刘童娜 李聪聪 / 电子工业出版社 / 2010-1-1 / 59.00元

MATLAB实用教程(第二版),ISBN:9787121101793,作者:(美)穆尔 著,高会生,刘童娜,李聪聪 译一起来看看 《MATLAB实用教程》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具