How to use the pgtools.createdb function in pgtools

To help you get started, we’ve selected a few pgtools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github chrisdickinson / ormnomnom / test / db.js View on Github external
}).then(() => {
    return pgtools.createdb({}, TEST_DB_NAME)
  }).then(() => {
    return getConnection().then(client => {

pgtools

Pure Node.js implementation of PostgreSQL's createdb and dropdb tools

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis

Popular pgtools functions