Interface NormalizedReplicationOptions<Dialect>

interface NormalizedReplicationOptions<Dialect> {
    read: readonly ConnectionOptions<Dialect>[];
    write: ConnectionOptions<Dialect>;
}

Type Parameters

Properties

Properties

read: readonly ConnectionOptions<Dialect>[]

If empty, read-replication is not enabled, and the "write" pool is used for all queries.