Package Exports
- @resolve-js/eventstore-postgresql
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@resolve-js/eventstore-postgresql) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@resolve-js/eventstore-postgresql
This package is a eventstore adapter for storing events using PostgreSQL 10.7.
Available Parameters
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.
Usage
import createAdapter from '@resolve-js/eventstore-postgresql'
const adapter = createAdapter({
user: 'user',
password: 'password',
database: 'postgres',
host: 'localhost',
port: 5432,
databaseName: 'public',
eventsTableName: 'events',
})