2024年4月2日 星期二

Using PostgreSQL with Node-RED

 Using PostgreSQL with Node-RED

1) 安裝 pgadmin III

2) node-red 安裝 節點 node-red-contrib-re-postgres : postgres

3) 在pgaminIII新增database 名稱

     例如DataBase2024










利用 程式 新增table

msg.payload = `CREATE TABLE SQLusers(

    user_id serial PRIMARY KEY,

    name  TEXT,

    age INTEGER,

    country TEXT

)`


return msg;








沒有留言:

張貼留言

WOKWI ESP32 LED Control , Node-Red MQTT SQLITE  

WOKWI ESP32 LED Control ,  Node-Red  MQTT SQLITE   const char broker[] = "test.mosquitto.org" ; //const char broker[] = "br...