# Class: MySQLClient

## vertx-mysql-postgresql-js/my_sql_client~ MySQLClient

#### new MySQLClient()

Represents an asynchronous MySQL client

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 36

### Methods

#### close(arg0)

##### Parameters:

Name | Type | Description
--- | --- | ---
`arg0` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 110

#### getConnection(arg0) → {SQLClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`arg0` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 91

##### Returns:

Type
  SQLClient

#### query(sql, handler) → {SQLClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`sql` | string |
`handler` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 132

##### Returns:

Type
  SQLClient

#### querySingle(sql, handler) → {SQLOperations}

##### Parameters:

Name | Type | Description
--- | --- | ---
`sql` | string |
`handler` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 49

##### Returns:

Type
  SQLOperations

#### querySingleWithParams(sql, arguments, handler) → {SQLOperations}

##### Parameters:

Name | Type | Description
--- | --- | ---
`sql` | string |
`arguments` | todo |
`handler` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 71

##### Returns:

Type
  SQLOperations

#### queryWithParams(sql, arguments, handler) → {SQLClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`sql` | string |
`arguments` | todo |
`handler` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 154

##### Returns:

Type
  SQLClient

#### update(sql, handler) → {SQLClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`sql` | string |
`handler` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 175

##### Returns:

Type
  SQLClient

#### updateWithParams(sql, params, handler) → {SQLClient}

##### Parameters:

Name | Type | Description
--- | --- | ---
`sql` | string |
`params` | todo |
`handler` | function |

Source:
  - vertx-mysql-postgresql-js/my_sql_client.js, line 197

##### Returns:

Type
  SQLClient