Skip to content

Instantly share code, notes, and snippets.

@kasramp
Created May 28, 2020 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasramp/3ccad9096996d953a777bae390381562 to your computer and use it in GitHub Desktop.
Save kasramp/3ccad9096996d953a777bae390381562 to your computer and use it in GitHub Desktop.
import config from "../config.js";
const client = await new Client().connect({
hostname: config.database.host,
username: config.database.username,
password: config.database.password,
db: config.database.name,
poolSize: 10
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment