Module: vertx-mysql-postgresql-js/async_sql_service

vertx-mysql-postgresql-js/async_sql_service

Classes

AsyncSqlService

Methods

<static> AsyncSqlService.createEventBusProxy(vertx, address) → {AsyncSqlService}

Create an event bus proxy to a service which lives somewhere on the network and is listening on the specified event bus address
Parameters:
Name Type Description
vertx Vertx the Vert.x instance
address string the address on the event bus where the service is listening
Source:
Returns:
Type
AsyncSqlService

<static> AsyncSqlService.createMySqlService(vertx, config) → {AsyncSqlService}

Create a MySQL service
Parameters:
Name Type Description
vertx Vertx the Vert.x instance
config Object the config
Source:
Returns:
the service
Type
AsyncSqlService

<static> AsyncSqlService.createPostgreSqlService(vertx, config) → {AsyncSqlService}

Create a PostgreSQL service
Parameters:
Name Type Description
vertx Vertx the Vert.x instance
config Object the config
Source:
Returns:
the service
Type
AsyncSqlService