UNPKG

nukak

Version:

flexible and efficient ORM, with declarative JSON syntax and smart type-safety

19 lines (18 loc) 365 B
import type { ExtraOptions, Querier } from './querier.js'; /** * querier pool. */ export type QuerierPool<Q extends Querier = Querier> = { /** * extra options */ readonly extra?: ExtraOptions; /** * get a querier from the pool. */ getQuerier: () => Promise<Q>; /** * end the pool. */ end(): Promise<void>; };