1.0.8 • Published 6 years ago

postgresql-waterline-adapter v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

PostgreSQL Waterline Adapter

NPM version Known Vulnerabilities

A bare-bones Waterline adapter for PostgreSQL. It does not support schema creation/modification or streaming data.

Compatibility

  • Waterline v0.12.x
  • PostgreSQL 9.6.x

Install

$ npm install postgres-waterline-adapter

Configuration

config/connections.js

module.exports.connections = {
  // ...
  postgres: {
    connection: {
      database: 'databaseName',
      host: 'localhost',
      user: 'user',
      password: 'password',
      port: 5432,
      ssl: false
    },
  },
  // Or use a url string
  postgres: {
    connection: {
      url: 'postgresql://user:password@localhost:5432/databaseName?ssl=false',
    },
  }
}

License

MIT