Build and initialize a connection manager instance for this database.
The `manager` instance returned by this method contains any configuration that is necessary for communicating with the database and establishing connections (e.g. host, user, password) as well as any other relevant metadata. The manager will often also contain a reference to some kind of native container (e.g. a connection pool). Note that a manager instance does not necessarily need to correspond with a pool though--it might simply be a container for storing config, or it might refer to multiple pools.
var PostgreSQL = require('machinepack-postgresql');
// Build and initialize a connection manager instance for this database.
connectionString: 'postgres://mikermcneil:[email protected]:5432/some_db',
A connection string to use to connect to a Postgresql database.
A function to call any time an unexpected error event is received from this manager or any of its connections.
Additional PostgreSQL-specific options to use when connecting.
An unexpected error occurred.
The provided connection string is not valid for Postgresql.
Could not create a connection manager for this database using the specified connection string.