This package is a eventstore adapter for storing events using PostgreSQL 10.7.
databaseName
- a name of a schema storing events.eventsTableName
- a name of a table storing events.user
- a name of an user.password
- a password of an user.database
- a name of a database.host
- a host of a database server.port
- a port of a database server.
import createAdapter from 'resolve-eventstore-postgresql'
const adapter = createAdapter({
user: 'user',
password: 'password',
database: 'postgres',
host: 'localhost',
port: 5432,
databaseName: 'public',
eventsTableName: 'events'
})