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
Olga Braginskaya -
Nozibul Islam -
Michael Warren -
Sohail Jafri -
Top comments (0)