Classes
Methods
(static) MySQLClient.createNonShared(vertx, config) → {AsyncSQLClient}
Create a MySQL client which maintains its own pool.
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the Vert.x instance |
config |
Object | the configuration |
Returns:
the client
- Type
- AsyncSQLClient
(static) MySQLClient.createShared(vertx, config, poolName) → {AsyncSQLClient}
Create a MySQL client which shares its data source with any other MySQL clients created with the same
data source name
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the Vert.x instance |
config |
Object | the configuration |
poolName |
string | the pool name |
Returns:
the client
- Type
- AsyncSQLClient