elearning/Frontend-Learner/node_modules/db0/dist/connectors/cloudflare-hyperdrive-postgresql.d.mts
2026-01-13 10:48:02 +07:00

7 lines
359 B
TypeScript

import pg from "pg";
import type { Connector } from "db0";
type OmitPgConfig = Omit<pg.ClientConfig, "user" | "database" | "password" | "port" | "host" | "connectionString">;
export type ConnectorOptions = {
bindingName: string;
} & OmitPgConfig;
export default function cloudflareHyperdrivePostgresqlConnector(opts: ConnectorOptions): Connector<pg.Client>;