Module: vertx-mysql-postgresql-js/my_sql_client

Classes

MySQLClient

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
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
vertx Vertx the Vert.x instance
config Object the configuration
poolName string the pool name
Source:
Returns:
the client
Type
AsyncSQLClient