Skip to content

UCD-DART/resolve-eventstore-ucd

Repository files navigation

resolve-eventstore-postgresql

npm version

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-eventstore-postgresql'

const adapter = createAdapter({
  user: 'user',
  password: 'password',
  database: 'postgres',
  host: 'localhost',
  port: 5432,
  databaseName: 'public',
  eventsTableName: 'events'
})

Analytics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published