Module: vertx-mysql-postgresql-js/postgre_sql_client

Classes

PostgreSQLClient

Methods

(static) PostgreSQLClient.createNonShared(vertx, config) → {AsyncSQLClient}

Create a PostgreSQL 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) PostgreSQLClient.createShared(vertx, config, poolName) → {AsyncSQLClient}

Create a PostgreSQL client which shares its pool with any other MySQL clients created with the same pool 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