- All Known Implementing Classes:
io.inverno.mod.sql.vertx.internal.AbstractSqlClient
,io.inverno.mod.sql.vertx.internal.AbstractSqlOperations
,ConnectionSqlClient
,PooledClientSqlClient
,PoolSqlClient
public interface UnsafeSqlOperations
SQL unsafe or experimental operations.
The methods exposed in this inferface should be considered as unstable and should be used with care. Implementations might not fully support this interface which can also change over time.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescription<T> Publisher
<T> batchQueries
(Function<SqlOperations, Publisher<Publisher<T>>> function) Executes multiple queries in a batch.
-
Method Details
-
batchQueries
Executes multiple queries in a batch.
The specified function shall return queries publishers created from the SQL operations argument, these queries are then pipelined, defering the flush of queries over the network.
- Type Parameters:
T
- the type of results- Parameters:
function
- a function returning queries to execute in a batch- Returns:
- a publisher of results
-