Classes
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 |
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 |
Returns:
the client
- Type
- AsyncSQLClient