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;








沒有留言:

張貼留言

Node-Red Dashboard UI Template + AngularJS 參考 AngularJS教學 --3

  Node-Red Dashboard UI Template + AngularJS 參考 AngularJS教學 --3 AngularJS 實例 <!DOCTYPE html> <html> <head> <meta charse...