| Package | Description |
|---|---|
| io.vertx.sqlclient |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Pool
A connection pool which reuses a number of SQL connections.
|
interface |
SqlConnection
A connection to the database server.
|
| Modifier and Type | Method and Description |
|---|---|
default <T> io.vertx.core.Future<T> |
Pool.withTransaction(Function<SqlClient,io.vertx.core.Future<T>> function)
Like
Pool.withTransaction(Function, Handler) but returns a Future of the asynchronous result |
default <T> void |
Pool.withTransaction(Function<SqlClient,io.vertx.core.Future<T>> function,
io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> handler)
Execute the given
function within a transaction. |
Copyright © 2020 Eclipse. All rights reserved.