@clickup/pg-microsharding
Version:
Microshards support for PostgreSQL
12 lines • 310 B
TypeScript
export interface DiscoveredShard {
dsn: string;
shard: number;
schema: string;
}
/**
* Loads the list of all active schemas from the given DSNs.
*/
export declare function discoverShards({ dsns, }: {
dsns: string[];
}): Promise<DiscoveredShard[]>;
//# sourceMappingURL=discoverShards.d.ts.map