UNPKG

@clickup/pg-microsharding

Version:
13 lines 630 B
import type { Sql } from "./quote"; /** * Runs a psql with the provided SQL query (or queries) passed as stdin. Returns * an array of rows (rows are newline-separated in the output), each row is an * array of values. */ export declare function runSql(dsn: string, query: Sql, comment?: string): Promise<string[][]>; export declare namespace runSql { var column: (dsn: string, query: Sql, comment?: string) => Promise<string[]>; var row: (dsn: string, query: Sql, comment?: string) => Promise<string[]>; var one: (dsn: string, query: Sql, comment?: string) => Promise<string>; } //# sourceMappingURL=runSql.d.ts.map