## Uses of Interface
io.vertx.sqlclient.SqlConnection

- Packages that use SqlConnection
  Package | Description
  --- | ---
  io.vertx.db2client |
  io.vertx.db2client.spi |
  io.vertx.jdbcclient |
  io.vertx.mssqlclient |
  io.vertx.mssqlclient.spi |
  io.vertx.mysqlclient |
  io.vertx.mysqlclient.spi |
  io.vertx.oracleclient |
  io.vertx.oracleclient.spi |
  io.vertx.pgclient |
  io.vertx.pgclient.spi |
  io.vertx.reactivex.sqlclient |
  io.vertx.rxjava3.sqlclient |
  io.vertx.sqlclient |
  io.vertx.sqlclient.spi |

- - ### Uses of SqlConnection in io.vertx.db2client

    Subinterfaces of SqlConnection in io.vertx.db2client
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `DB2Connection` | A connection to DB2 server.

    Methods in io.vertx.db2client with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static DB2Connection` | DB2Connection.`cast​(SqlConnection sqlConnection)` | Cast a `SqlConnection` to `DB2Connection`.

  - ### Uses of SqlConnection in io.vertx.db2client.spi

    Method parameters in io.vertx.db2client.spi with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Pool` | DB2Driver.`newPool​(Vertx vertx, java.util.function.Supplier<Future<DB2ConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)` |

  - ### Uses of SqlConnection in io.vertx.jdbcclient

    Subinterfaces of SqlConnection in io.vertx.jdbcclient
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `JDBCConnection` |

  - ### Uses of SqlConnection in io.vertx.mssqlclient

    Subinterfaces of SqlConnection in io.vertx.mssqlclient
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `MSSQLConnection` | A connection to Microsoft SQL Server.

    Methods in io.vertx.mssqlclient with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MSSQLConnection` | MSSQLConnection.`cast​(SqlConnection sqlConnection)` | Cast a `SqlConnection` to `MSSQLConnection`.

  - ### Uses of SqlConnection in io.vertx.mssqlclient.spi

    Method parameters in io.vertx.mssqlclient.spi with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Pool` | MSSQLDriver.`newPool​(Vertx vertx, java.util.function.Supplier<Future<MSSQLConnectOptions>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)` |

  - ### Uses of SqlConnection in io.vertx.mysqlclient

    Subinterfaces of SqlConnection in io.vertx.mysqlclient
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `MySQLConnection` | An interface which represents a connection to MySQL server.

    Methods in io.vertx.mysqlclient with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MySQLConnection` | MySQLConnection.`cast​(SqlConnection sqlConnection)` | Cast a `SqlConnection` to `MySQLConnection`.

  - ### Uses of SqlConnection in io.vertx.mysqlclient.spi

    Method parameters in io.vertx.mysqlclient.spi with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Pool` | MySQLDriver.`newPool​(Vertx vertx, java.util.function.Supplier<Future<MySQLConnectOptions>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)` |

  - ### Uses of SqlConnection in io.vertx.oracleclient

    Subinterfaces of SqlConnection in io.vertx.oracleclient
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `OracleConnection` | A connection to Oracle Database.

    Methods in io.vertx.oracleclient with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static OracleConnection` | OracleConnection.`cast​(SqlConnection sqlConnection)` | Cast a `SqlConnection` to `OracleConnection`.

  - ### Uses of SqlConnection in io.vertx.oracleclient.spi

    Method parameters in io.vertx.oracleclient.spi with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Pool` | OracleDriver.`newPool​(Vertx vertx, java.util.function.Supplier<Future<OracleConnectOptions>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)` |

  - ### Uses of SqlConnection in io.vertx.pgclient

    Subinterfaces of SqlConnection in io.vertx.pgclient
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `PgConnection` | A connection to Postgres.

    Methods in io.vertx.pgclient with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PgConnection` | PgConnection.`cast​(SqlConnection sqlConnection)` | Cast a `SqlConnection` to `PgConnection`.

  - ### Uses of SqlConnection in io.vertx.pgclient.spi

    Method parameters in io.vertx.pgclient.spi with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Pool` | PgDriver.`newPool​(Vertx vertx, java.util.function.Supplier<Future<PgConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)` |

  - ### Uses of SqlConnection in io.vertx.reactivex.sqlclient

    Methods in io.vertx.reactivex.sqlclient that return SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `SqlConnection` | SqlConnection.`getDelegate()` |

    Methods in io.vertx.reactivex.sqlclient with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SqlConnection` | SqlConnection.`newInstance​(SqlConnection arg)` |

    Constructors in io.vertx.reactivex.sqlclient with parameters of type SqlConnection
    Constructor | Description
    --- | ---
    `SqlConnection​(SqlConnection delegate)` |

  - ### Uses of SqlConnection in io.vertx.rxjava3.sqlclient

    Methods in io.vertx.rxjava3.sqlclient that return SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `SqlConnection` | SqlConnection.`getDelegate()` |

    Methods in io.vertx.rxjava3.sqlclient with parameters of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SqlConnection` | SqlConnection.`newInstance​(SqlConnection arg)` |

    Constructors in io.vertx.rxjava3.sqlclient with parameters of type SqlConnection
    Constructor | Description
    --- | ---
    `SqlConnection​(SqlConnection delegate)` |

  - ### Uses of SqlConnection in io.vertx.sqlclient

    Methods in io.vertx.sqlclient that return SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `SqlConnection` | SqlConnection.`closeHandler​(Handler<Void> handler)` | Set an handler called when the connection is closed.
    `SqlConnection` | SqlConnection.`exceptionHandler​(Handler<Throwable> handler)` | Set an handler called with connection errors.

    Methods in io.vertx.sqlclient that return types with arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<SqlConnection>` | Pool.`getConnection()` | Get a connection from the pool.

    Method parameters in io.vertx.sqlclient with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `ClientBuilder<C>` | ClientBuilder.`withConnectHandler​(Handler<SqlConnection> handler)` | Set a handler called when the pool has established a connection to the database.
    `default <T> Future<T>` | Pool.`withConnection​(java.util.function.Function<SqlConnection,​Future<T>> function)` | Get a connection from the pool and execute the given `function`.
    `default <T> Future<T>` | Pool.`withTransaction​(TransactionPropagation txPropagation, java.util.function.Function<SqlConnection,​Future<T>> function)` | Like `Pool.withTransaction(Function)` but allows for setting the mode, defining how the acquired connection is managed during the execution of the function.
    `default <T> Future<T>` | Pool.`withTransaction​(java.util.function.Function<SqlConnection,​Future<T>> function)` | Execute the given `function` within a transaction.

  - ### Uses of SqlConnection in io.vertx.sqlclient.spi

    Methods in io.vertx.sqlclient.spi that return types with arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<SqlConnection>` | ConnectionFactory.`connect​(Context context, C options)` | Create a connection using the given `context`.
    `default Future<SqlConnection>` | ConnectionFactory.`connect​(Context context, Future<C> fut)` |

    Method parameters in io.vertx.sqlclient.spi with type arguments of type SqlConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `default Pool` | Driver.`createPool​(Vertx vertx, java.util.function.Supplier<Future<C>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler)` | Create a connection pool to the database configured with the given `connectOptions` and `poolOptions`.
    `Pool` | Driver.`newPool​(Vertx vertx, java.util.function.Supplier<Future<C>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)` | Create a connection pool to the database configured with the given `connectOptions` and `poolOptions`.