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 an event store adapter used to store events in PostgreSQL 10.7.
Available Parameters
databaseName
- the name of a schema used to store events.eventsTableName
- the name of a table used to store events.user
- the user name.password
- a user's password.database
- the name of a database.host
- a database server's host name.port
- a database server's port.
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',
})