0.34.3 • Published 2 years ago

@resolve-js/readmodel-mysql v0.34.3

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

resolve-readmodel-mysql

npm version

A Read Model Adapter for MySQL 5.7+ and compatible (like AWS Aurora) databases. 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

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

Usage

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

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

Notes:

  • Index fields can store only numbers of the BIGINT type or strings in the utf8mb4 encoding with the utf8mb4_unicode_ci collation (details).
  • Other fields are stored in a json column as longblob (details)
  • The maximum packet size is limited. You can configure it in the MySQL server options
  • Double-check the encoding of connection names, requests, and responses: the encoding-related bugs are hard to catch.

Analytics

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

3 years ago

0.33.2

3 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