executeBatchQuery
inline suspend fun <Data> executeBatchQuery(queries: Iterable<Query>, getFieldExpressionSetWithExposedTransaction: Boolean = config.autoExposedTransaction, crossinline resultRowMapper: ResultRow.() -> Data): Sequence<RowSet<Data>>(source)
Parameters
getFieldExpressionSetWithExposedTransaction
See also
suspend fun executeBatchQuery(queries: Iterable<Query>, getFieldExpressionSetWithExposedTransaction: Boolean = config.autoExposedTransaction): Sequence<RowSet<ResultRow>>(source)
See the KDoc of the overload with resultRowMapper parameter.
inline suspend fun <Data> executeBatchQuery(fieldSet: FieldSet, queries: Iterable<Query>, getFieldExpressionSetWithExposedTransaction: Boolean = config.autoExposedTransaction, crossinline resultRowMapper: ResultRow.() -> Data): Sequence<RowSet<Data>>(source)
Deprecated
This function is buggy. The field expression set of the `fieldSet` parameter may be different from the those of the queries. Use the new overload without the `fieldSet` parameter instead.
Replace with
executeBatchQuery(queries, getFieldExpressionSetWithExposedTransaction, resultRowMapper)Content copied to clipboard
suspend fun executeBatchQuery(fieldSet: FieldSet, queries: Iterable<Query>): Sequence<RowSet<ResultRow>>(source)
Deprecated
This function is buggy. The field expression set of the `fieldSet` parameter may be different from the those of the queries. Use the new overload without the `fieldSet` parameter instead.
Replace with
executeBatchQuery(queries)Content copied to clipboard