1.3.1 • Published 2 years ago

consequent-postgres v1.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

Consequent-Postgres

Provides both actor and event storage adapters for Postgres.

Note: This approach does not support siblings and is best suited for use with microservice architectures where services own their own database or systems where writes are behind a consistent hash on record/actor id.

Approach

Snapshots, events and event packs are all stored in actor/entity-specific tables.

Usage

var consequentFn = require( "consequent" );
var stores = require( "consequent-postgres" )(
	"postgresql://dbuser:secretpassword@database.server.com:3211/mydb"
);

var consequent = consequentFn( {
	actorStore: stores.actor,
	eventStore: stores.event,
	searchStore: stores.search
} );
1.2.0

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.0.0

5 years ago