0.32.0 • Published 3 years ago

@resolve-js/readmodel-postgresql-serverless v0.32.0

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

@resolve-js/readmodel-postgresql-serverless

npm version

A Read Model Adapter for AWS Aurora PostgreSQL serverless database via RDS Data API. 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

  • dbClusterOrInstanceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
  • awsSecretStoreArn - The name or ARN of the secret that enables access to the DB cluster.
  • databaseName - The name of the PostgreSQL schema.
  • tablePrefix - An optional table prefix for read-models server by current adapter instance.
  • ...connectionSettings - See RDS Data Service API for more information.

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

Usage

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

const adapter = createAdapter({
  databaseName,
  ...connectionSettings,
})
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