- Source:
Classes
Methods
-
<static> MySQLClient.createNonShared(vertx, config) → {AsyncSQLClient}
-
Create a MySQL client which maintains its own pool.
Parameters:
Name Type Description vertxVertx the Vert.x instance configObject the configuration - Source:
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 vertxVertx the Vert.x instance configObject the configuration poolNamestring the pool name - Source:
Returns:
the client- Type
- AsyncSQLClient