# Class: JDBCClient

## vertx-jdbc-js/jdbc_client~ JDBCClient

#### new JDBCClient()

An asynchronous client interface for interacting with a JDBC compliant database

Source:
  - vertx-jdbc-js/jdbc_client.js, line 31

### Methods

#### close()

Close the client

Source:
  - vertx-jdbc-js/jdbc_client.js, line 64

#### getConnection(handler) → {JDBCClient}

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:
  - vertx-jdbc-js/jdbc_client.js, line 44

##### Returns:

Type
  JDBCClient