UNPKG

kysely-replication

Version:
15 lines (12 loc) 514 B
import { R as ReplicaStrategy } from '../config-5S6ngVvi.cjs'; import 'kysely'; interface RoundRobinReplicaStrategyOptions { onTransaction?: 'error' | 'warn' | 'allow'; } declare class RoundRobinReplicaStrategy implements ReplicaStrategy { #private; constructor(options?: RoundRobinReplicaStrategyOptions); next(replicaCount: number): Promise<number>; get onTransaction(): 'error' | 'warn' | 'allow' | undefined; } export { RoundRobinReplicaStrategy, type RoundRobinReplicaStrategyOptions };