resolve-readmodel-postgresql-serverless

0.26.5 • Public • Published

resolve-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 similar to the other reSolve adapters API, which means 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 - optional table prefix for read-models server by current adapter instance.
  • preferEventBusLedger - store ledger in event bus instead read-model database itself.
  • ...connectionSettings - see RDS Data Service API for more information.

Adapter interface is provided by resolve-readmodel-base package.

Usage

import createAdapter from 'resolve-readmodel-postgresql-serverless'

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.26.55latest
0.27.15-alpha1alpha

Version History

VersionDownloads (Last 7 Days)Published
0.27.15-alpha1
0.27.14-alpha2
0.27.12-alpha0
0.27.11-alpha2
0.27.10-alpha2
0.27.9-alpha1
0.27.8-alpha2
0.27.7-alpha1
0.27.6-alpha2
0.27.5-alpha2
0.27.4-alpha2
0.27.3-alpha2
0.26.55
0.27.2-alpha1
0.27.0-alpha2
0.26.42
0.26.32
0.26.22
0.26.11
0.26.01
0.25.181
0.25.172
0.25.162
0.25.151
0.25.142
0.25.132
0.25.121
0.25.112
0.25.102
0.25.90
0.25.82
0.25.71
0.25.62
0.25.51
0.25.41
0.25.31
0.25.21
0.25.12
0.25.01
0.24.231
0.24.222
0.24.212
0.24.202
0.24.192
0.24.182
0.24.171
0.24.161
0.24.151
0.24.141
0.24.131
0.24.122
0.24.112
0.24.102
0.24.91
0.24.81
0.24.73
0.24.61
0.24.51
0.24.31
0.24.3-alpha.02
0.24.21
0.24.01
0.23.21
0.23.11
0.23.02
0.22.151
0.22.142
0.22.133
0.22.122
0.22.112
0.22.102
0.22.91
0.22.82
0.22.72
0.22.61
0.22.51
0.22.42
0.22.32
0.22.21
0.22.11
0.22.01
0.21.152
0.21.143
0.21.131
0.21.123
0.21.112
0.21.102
0.21.92
0.21.82
0.21.72
0.21.62
0.21.52
0.21.41
0.21.32
0.21.22
0.21.02
0.21.0-alpha.151
0.21.0-alpha.62
0.21.0-alpha.52
0.21.0-alpha.31
0.21.0-alpha.22
0.21.0-alpha.11

Package Sidebar

Install

npm i resolve-readmodel-postgresql-serverless

Weekly Downloads

165

Version

0.26.5

License

MIT

Unpacked Size

560 kB

Total Files

202

Last publish

Collaborators

  • resolve-admin
  • reimagined-admin
  • vladihost
  • lykoi18