UNPKG

@clickup/pg-microsharding

Version:
15 lines 924 B
import { ident } from "./quote"; export declare const pubName: (schema: string) => string; export declare const subName: (schema: string) => string; export declare const pgDump: (fromDsn: string) => string; export declare const psql: (dsn: string) => string; export declare const shardNo: (schema: string) => number | null; export declare const shardFactorFromComment: (comment: string) => number | null; export declare const shardFactorToComment: (factor: number) => string; export declare const schemaOld: (schema: string, dateSuffix: string) => string; export declare const schemaNew: (schema: string) => string; export declare const schemaCleanupRe: (schemaNameRe: string) => string; export declare const libSchema: () => ReturnType<typeof ident>; export declare const dsnShort: (dsn: string) => string; export declare const dsnFromToShort: (fromDsn: string, toDsn: string) => string; //# sourceMappingURL=names.d.ts.map