related-db-cluster

2.2.23 • Public • Published

related-db-cluster

DB agnostic db cluster implementation. The module manages connections to readonly, readwrite & writeonly db nodes. This module is used by the related module.

{ type : 'postgres' , database : 'test' , schema : 'test' , user : '' , pass : '' , maxConnections : 20 , hosts: [{ host: '' , pool: ['read', 'write', 'master'] }, { host: '' , pool: ['stats'] }] }

// add the autoscale plugin orm.use(new AWSAutoScale({ aki: '' , secret: '' , config: { master: 'eb-live' , maxConnections: 50 , pools: ['read'] } }))

Readme

Keywords

none

Package Sidebar

Install

npm i related-db-cluster

Weekly Downloads

4

Version

2.2.23

License

MIT

Unpacked Size

43.9 kB

Total Files

11

Last publish

Collaborators

  • ee