0.34.3 • Published 2 years ago

@resolve-js/readmodel-postgresql v0.34.3

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

@resolve-js/readmodel-postgresql

npm version

A Read Model Adapter for PostgreSQL 10.7 database server. The adapter provides a query API for projection and resolvers. This API is standard among reSolve read model adapters, so you can change a Read Model Adapter in the configuration file without changing the code.

Available Parameters

  • databaseName - The name of the PostgreSQL schema.
  • buildMode - An optional build mode: "auto" (default), "nodejs", "plv8", "plv8-internal", "plv8-external".
  • useSqs - An optional flag determining possibility of usage SQS transport (only in AWS cloud).
  • tablePrefix - An optional table prefix for read-models server by current adapter instance.
  • user - The name of a user.
  • password - The user's password.
  • database - The database name.
  • host - The database server's host name.
  • port - The database server's port.

The adapter interface is defined in the @resolve-js/readmodel-base package.

Usage

import createAdapter from '@resolve-js/readmodel-postgresql'

const adapter = createAdapter({
  databaseName,
  ...connectionSettings,
})
0.34.3

2 years ago

0.34.2

2 years ago

0.34.1

2 years ago

0.34.0

2 years ago

0.33.10

2 years ago

0.33.15

2 years ago

0.33.14

2 years ago

0.33.13

2 years ago

0.33.12

2 years ago

0.33.9

2 years ago

0.33.11

2 years ago

0.33.7

2 years ago

0.33.6

2 years ago

0.33.5

2 years ago

0.33.4

2 years ago

0.33.3

2 years ago

0.33.2

2 years ago

0.33.1

3 years ago

0.33.8

2 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.10

3 years ago

0.31.9

3 years ago

0.31.8

3 years ago

0.31.7

3 years ago

0.31.6

3 years ago

0.31.5

3 years ago

0.31.4

3 years ago

0.31.3

3 years ago

0.31.2

3 years ago

0.31.1

3 years ago

0.31.0

3 years ago

0.30.5

3 years ago

0.30.4

3 years ago

0.30.3

3 years ago

0.30.2

3 years ago

0.30.1

3 years ago

0.30.0

3 years ago

0.29.0

3 years ago

0.28.3

3 years ago

0.28.1-alpha

3 years ago

0.28.2

3 years ago

0.28.0-alpha.2

3 years ago

0.28.0-alpha.1

3 years ago