UNPKG

@starbemtech/star-db-query-builder

Version:

A query builder to be used with mysql or postgres

11 lines (10 loc) 411 B
import { IDatabaseClient } from './IDatabaseClient'; import { DBClients, RetryOptions } from '../default/types'; export declare const initDb: <T>(config: { name: string; type: DBClients; options: T; retryOptions?: RetryOptions; }) => Promise<void>; export declare const getDbClient: (name: string) => IDatabaseClient; export declare const getAllDbClients: () => Record<string, IDatabaseClient>;