Skip to content

SqlExecutor — @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 { SqlExecutor } from '@gj-kit/toss-payments-postgresql';
interface SqlExecutor {
/** `$1, $2` 위치 파라미터 규약(PostgreSQL 프로토콜). 실패는 그대로 throw. */
query(text: string, params?: readonly unknown[]): Promise<SqlResult>;
}

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