UNPKG

db0

Version:

Lightweight SQL Connector

7 lines (6 loc) 221 B
import pg from "pg"; import type { Connector } from "db0"; export type ConnectorOptions = { url: string; } | pg.ClientConfig; export default function postgresqlConnector(opts: ConnectorOptions): Connector<pg.Client>;