new MySQLPool()
A pool of MySQL connections.
- Source:
Methods
preparedBatch(sql, batch, handler) → {MySQLPool}
Parameters:
| Name |
Type |
Description |
sql |
string
|
|
batch |
Array.<Tuple>
|
|
handler |
function
|
|
- Source:
Returns:
-
Type
-
MySQLPool
preparedQuery(sql, arguments, handler) → {MySQLPool}
Parameters:
| Name |
Type |
Description |
sql |
string
|
|
arguments |
Tuple
|
|
handler |
function
|
|
- Source:
Returns:
-
Type
-
MySQLPool
query(sql, handler) → {MySQLPool}
Parameters:
| Name |
Type |
Description |
sql |
string
|
|
handler |
function
|
|
- Source:
Returns:
-
Type
-
MySQLPool