slonik
Version:
A Node.js PostgreSQL client with strict types, detailed logging and assertions.
8 lines • 303 B
TypeScript
import { type InternalQueryMethod } from '../types';
/**
* Makes a query and expects exactly one result.
* @throws NotFoundError If query returns no rows.
* @throws DataIntegrityError If query returns multiple rows.
*/
export declare const one: InternalQueryMethod;
//# sourceMappingURL=one.d.ts.map