Package | Description |
---|---|
io.reactiverse.reactivex.pgclient |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<PgTransaction> |
PgTransaction.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
PgTransaction |
PgTransaction.abortHandler(io.vertx.core.Handler<Void> handler)
Set an handler to be called when the transaction is aborted.
|
PgTransaction |
PgConnection.begin()
Begin a transaction and returns a
PgTransaction for controlling and tracking
this transaction. |
static PgTransaction |
PgTransaction.newInstance(PgTransaction arg) |
PgTransaction |
PgTransaction.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgPreparedQuery>> handler)
Create a prepared query.
|
PgTransaction |
PgTransaction.preparedBatch(String sql,
List<Tuple> batch,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.preparedQuery(String sql,
Tuple arguments,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
PgTransaction |
PgTransaction.query(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgRowSet>> handler) |
Modifier and Type | Method and Description |
---|---|
Single<PgTransaction> |
PgPool.rxBegin()
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Modifier and Type | Method and Description |
---|---|
void |
PgPool.begin(io.vertx.core.Handler<io.vertx.core.AsyncResult<PgTransaction>> handler)
Borrow a connection from the pool and begin a transaction, the underlying connection will be returned
to the pool when the transaction ends.
|
Copyright © 2019 Eclipse. All rights reserved.