UNPKG

@pyramation/postgraphile

Version:

A GraphQL schema created by reflection over a PostgreSQL schema 🐘 (previously known as PostGraphQL)

9 lines (8 loc) 306 B
import { mixed } from '../../interfaces'; import { PoolClient } from 'pg'; export declare const $$pgClient = "pgClient"; /** * Retrieves a Postgres client from a context, throwing an error if such a * client does not exist. */ export default function getPgClientFromContext(context: mixed): PoolClient;