You establish the connection to a Postgres database using its URI by writing the following piece of code:-
const connectionString = 'postgresql://dbuser:secretpassword@database.server.com:3211/mydb'
const pool = new Pool({
connectionString,
})
You establish the connection to a Postgres database using its URI by writing the following piece of code:-
const connectionString = 'postgresql://dbuser:secretpassword@database.server.com:3211/mydb'
const pool = new Pool({
connectionString,
})
For further actions, you may consider blocking this person and/or reporting abuse
Alexandre Calaça -
Treveshan Naidoo -
RUDRA SHARMA -
Moe Sadiq -
Top comments (0)