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
Palomino -
Alvaro Montoro -
Rathod Ketan -
Shivam Chhuneja -
Top comments (0)