UNPKG

@clickup/pg-microsharding

Version:
19 lines 530 B
/** * Similar to listActiveSchemas(), but also returns the weight of each * microshard and its number. */ export declare function weights({ dsn, weightSql, verbose, }: { dsn: string; weightSql: string | undefined; verbose?: boolean; }): Promise<Array<{ weightColName: string; weight: number; appliedFactor: number; unit: string | undefined; other: Record<string, string>; otherNormalized: Record<string, string>; schema: string; no: number; }>>; //# sourceMappingURL=weights.d.ts.map