How to use the machinepack-postgresql.createManager function in machinepack-postgresql

To help you get started, we’ve selected a few machinepack-postgresql 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 balderdashy / sails-postgresql / helpers / private / connection / create-manager.js View on Github external
module.exports = function createManager(url, config) {
  var report = PG.createManager({
    connectionString: url,
    meta: config
  }).execSync();

  return report;
};