Dear sir, madam,
Is there a way to connect the uibuilder with the PostgreSQL database to call/ gather data, something similar to the code below here, without using the local flow connection (connecting the lines together)?
const { Client } = require('pg')
const client = new Client({
user: 'sgpostgres',
host: 'SG-PostgreNoSSL-14-pgsql-master.devservers.scalegrid.io',
database: 'postgres',
password: 'password',
port: 5432,
})
client.connect(function(err) {
if (err) throw err;
console.log("Connected!");
});