Skip to content

PgPoolClientLike — @gj-kit/toss-payments-postgresql

A public interface from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.

import { PgPoolClientLike } from '@gj-kit/toss-payments-postgresql';
/** `pool.connect()`가 내주는 커넥션의 필요 부분만 — pg.PoolClient가 구조 대입된다. */
interface PgPoolClientLike {
query(text: string, values?: readonly unknown[]): Promise<PgQueryResultLike>;
/** truthy err 전달 시 커넥션 폐기(pg 시맨틱) — 트랜잭션 잔존 상태 재사용 방지. */
release(err?: unknown): void;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/toss-payments-postgresql
  • Version: 0.5.1
  • Public entry: .
  • Source: GitHub