Package org.springframework.r2dbc.core

Functions

Link copied to clipboard
suspend fun DatabaseClient.GenericExecuteSpec.await()
Link copied to clipboard
suspend fun <T> RowsFetchSpec<T>.awaitOne(): T

Non-nullable Coroutines variant of RowsFetchSpec.one.

Link copied to clipboard
suspend fun <T> RowsFetchSpec<T>.awaitOneOrNull(): T?

Nullable Coroutines variant of RowsFetchSpec.one.

Link copied to clipboard
suspend fun UpdatedRowsFetchSpec.awaitRowsUpdated(): Int

Coroutines variant of UpdatedRowsFetchSpec.rowsUpdated.

Link copied to clipboard
suspend fun <T> RowsFetchSpec<T>.awaitSingle(): T

Non-nullable Coroutines variant of RowsFetchSpec.first.

Link copied to clipboard
suspend fun <T> RowsFetchSpec<T>.awaitSingleOrNull(): T?

Nullable Coroutines variant of RowsFetchSpec.first.

Link copied to clipboard
inline fun <T : Any> DatabaseClient.GenericExecuteSpec.bind(index: Int, value: T?): DatabaseClient.GenericExecuteSpec
inline fun <T : Any> DatabaseClient.GenericExecuteSpec.bind(name: String, value: T?): DatabaseClient.GenericExecuteSpec

Extension for DatabaseClient.GenericExecuteSpec.bind providing a variant leveraging reified type parameters

Link copied to clipboard
fun <T : Any> RowsFetchSpec<T>.flow(): Flow<T>

Coroutines Flow variant of RowsFetchSpec.all.