文章目录
# Node-RED
https://iothub.org.cn/docs/nodered/
https://iothub.org.cn/docs/nodered/app/app-postgresql/
一、概述
1.PostgreSQL
82.157.166.86
33047
postgres
postgres
2.node-red-contrib-postgresql
https://flows.nodered.org/node/node-red-contrib-postgresql
二、Node-RED
1.查询数据
1.1.配置流程
1.2.测试
2.插入数据
2.1.配置流程
INSERT INTO student(name,sex) VALUES('aaa', 'bbb');
INSERT INTO student VALUES('aaa', 'bbb');
2.2.测试
3.更新数据
3.1.配置流程
UPDATE student SET sex='45' where name = 'tom'
3.2.测试
4.删除数据
略
# Node-RED
https://iothub.org.cn/docs/nodered/
https://iothub.org.cn/docs/nodered/app/app-postgresql/