# Module: vertx-service-discovery-js/jdbc_data_source

### Classes

JDBCDataSource

### Methods

#### (static) JDBCDataSource.createRecord(name, location, metadata) → {Object}

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string |
`location` | Object |
`metadata` | Object |

Source:
  - vertx-service-discovery-js/jdbc_data_source.js, line 50

##### Returns:

Type
  Object

#### (static) JDBCDataSource.getJDBCClient(discovery, filter, consumerConfiguration, resultHandler)

Convenient method that looks for a JDBC datasource source and provides the configured JDBCClient. The async result is marked as failed is there are no matching services, or if the lookup fails.

##### Parameters:

Name | Type | Description
--- | --- | ---
`discovery` | ServiceDiscovery | The service discovery instance
`filter` | Object | The filter, optional
`consumerConfiguration` | Object | the consumer configuration
`resultHandler` | function | the result handler

Source:
  - vertx-service-discovery-js/jdbc_data_source.js, line 67