1 | import { Database } from './Database';
|
2 | import { MySQLConnection } from './MySQLConnection';
|
3 | import * as MySQL from 'mysql';
|
4 | export declare class MySQLDatabase extends Database {
|
5 | private cluster;
|
6 | constructor();
|
7 | escape(query: string): string;
|
8 | protected _addNode(nodeID: string, config: MySQL.PoolConfig): void;
|
9 | protected _removeNode(nodeID: string): void;
|
10 | protected _getConnection(query: string, requireWriteAccess: boolean): Promise<MySQLConnection>;
|
11 | }
|