UNPKG

graphile-migrate

Version:

Opinionated SQL-powered migration tool for PostgreSQL

5 lines (4 loc) 304 B
import { Client } from "./pg"; import { ParsedSettings } from "./settings"; export declare function runQueryWithErrorInstrumentation<T = any>(pgClient: Client, body: string, filename: string): Promise<T[] | undefined>; export declare const logDbError: ({ logger }: ParsedSettings, error: Error) => void;