mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
11 lines
190 B
JavaScript
11 lines
190 B
JavaScript
const pg = require('pg')
|
|
|
|
const client = new pg.Client({
|
|
user: 'dbuser',
|
|
host: 'database.server.com',
|
|
database: 'mydb',
|
|
password: 'secretpassword',
|
|
port: 3211,
|
|
})
|
|
client.connect()
|