Class: JdbcService

vertx-jdbc-js/jdbc_service~ JdbcService

new JdbcService()

A JDBC service allows you to interact with a JDBC compatible database using an asynchronous API.
Source:

Methods

getConnection(handler)

Returns a connection that can be used to perform SQL operations on. It's important to remember to close the connection when you are done, so it is returned to the pool.
Parameters:
Name Type Description
handler function the handler which is called when the JdbcConnection object is ready for use.
Source:

start()

Start the service
Source:

stop()

Stop the service
Source: