| 123456789101112 |
- import mysql from 'mysql2/promise';
- declare const getPool: () => mysql.Pool;
- export declare const testConnection: () => Promise<boolean>;
- export declare const executeQuery: (query: string, params?: any[]) => Promise<any>;
- export declare const getConnection: () => mysql.Pool;
- export declare const config: {
- testConnection: () => Promise<boolean>;
- getConnection: () => mysql.Pool;
- executeQuery: (query: string, params?: any[]) => Promise<any>;
- };
- export default getPool;
- //# sourceMappingURL=database.d.ts.map
|