Data Stores

A data store represents a source or destination of data. Data stores are typically databases, and Connections are used to configure clients to these databases.

Data Store

connectionSlug: string required

Slug of the connection to use for this data store.

config: object | object

Configuration details specific to the data store type.

Config

The configuration of a data store depends on its type, specified by the connectionType field. Currently, the following types are supported:

Postgres

Configuration for PostgreSQL-based data stores.

connectionType: string [const] required
= "postgres"

Postgres connection type.

slotName: string required

Name of the replication slot.

publicationName: string required

Name of the publication.

tables: array[string]

Tables to replicate.

allTables: boolean

When true, all tables are replicated.