# Package-level declarations

## Types

BatchInsertSuspendExecutable
Link copied to clipboard
open class BatchInsertSuspendExecutable<S : BatchInsertStatement>(val statement: S) : InsertSuspendExecutable<List<ResultRow>, S>

Represents the execution logic for an SQL statement that batch inserts new rows into a table.

BatchUpdateSuspendExecutable
Link copied to clipboard
open class BatchUpdateSuspendExecutable(val statement: BatchUpdateStatement) : UpdateSuspendExecutable

Represents the execution logic for an SQL statement that batch updates rows of a table.

BatchUpsertSuspendExecutable
Link copied to clipboard
open class BatchUpsertSuspendExecutable(val statement: BatchUpsertStatement) : BatchInsertSuspendExecutable<BatchUpsertStatement>

Represents the execution logic for an SQL statement that either batch inserts new rows into a table, or updates the existing rows if insertions violate unique constraints.

DeleteSuspendExecutable
Link copied to clipboard
open class DeleteSuspendExecutable(val statement: DeleteStatement) : SuspendExecutable<Int, DeleteStatement>

Represents the execution logic for an SQL statement that deletes one or more rows of a table.

GlobalSuspendStatementInterceptor
Link copied to clipboard
interface GlobalSuspendStatementInterceptor : SuspendStatementInterceptor

Represents a SuspendStatementInterceptor that is loaded whenever a R2dbcTransaction instance is initialized.

InsertSelectSuspendExecutable
Link copied to clipboard
open class InsertSelectSuspendExecutable(val statement: InsertSelectStatement) : SuspendExecutable<Int, InsertSelectStatement>

Represents the execution logic for an SQL statement that uses data retrieved from a query to insert new rows into a table.

InsertSuspendExecutable
Link copied to clipboard
open class InsertSuspendExecutable<Key : Any, S : InsertStatement<Key>>(val statement: S) : SuspendExecutable<Int, S>

Represents the execution logic for an SQL statement that inserts a new row into a table.

MergeSuspendExecutable
Link copied to clipboard
open class MergeSuspendExecutable<S : MergeStatement>(val statement: S) : SuspendExecutable<Int, S>

Represents the execution logic for an SQL MERGE statement that encapsulates the logic to perform conditional updates, insertions, or deletions.

R2dbcConnectionImpl
Link copied to clipboard
class R2dbcConnectionImpl(val connection: Publisher<out Connection>, vendorDialect: String, typeMapping: R2dbcTypeMapping) : R2dbcExposedConnection<Publisher<out Connection>>

Class representing a wrapped R2DBC database Connection.

R2dbcPreparedStatementImpl
Link copied to clipboard
class R2dbcPreparedStatementImpl(statement: Statement, val connection: Connection, val wasGeneratedKeysRequested: Boolean, currentDialect: DatabaseDialect, typeMapping: R2dbcTypeMapping) : R2dbcPreparedStatementApi

Class representing a precompiled SQL Statement from the R2DBC SPI.

ReturningSuspendExecutable
Link copied to clipboard
open class ReturningSuspendExecutable(val statement: ReturningStatement) : SuspendExecutable<ResultApi, ReturningStatement> , Flow<ResultRow>

Represents the execution logic for an underlying SQL statement that also returns a result with data from any modified rows.

SQLServerBatchInsertSuspendExecutable
Link copied to clipboard
open class SQLServerBatchInsertSuspendExecutable(val statement: SQLServerBatchInsertStatement) : BatchInsertSuspendExecutable<SQLServerBatchInsertStatement>

Represents the execution logic for an SQL statement that batch inserts new rows into a table, specifically for the SQL Server database.

SuspendExecutable
Link copied to clipboard
interface SuspendExecutable<out T, S : Statement<T>>

Executable provides a customizable execution mechanism for SQL statements within a transaction.

SuspendStatementInterceptor
Link copied to clipboard
interface SuspendStatementInterceptor

Represents the processes that should be performed during a statement's lifecycle events in a suspend transaction.

UpdateSuspendExecutable
Link copied to clipboard
open class UpdateSuspendExecutable(val statement: UpdateStatement) : SuspendExecutable<Int, UpdateStatement>

Represents the execution logic for an SQL statement that updates rows of a table.

UpsertSuspendExecutable
Link copied to clipboard
open class UpsertSuspendExecutable<Key : Any>(val statement: UpsertStatement<Key>) : InsertSuspendExecutable<Key, UpsertStatement<Key>>

Represents the execution logic for an SQL statement that either inserts a new row into a table, or updates the existing row if insertion would violate a unique constraint.

## Functions

toExecutable
Link copied to clipboard
fun <T : Any, S : Statement<T>> S.toExecutable(): SuspendExecutable<T, S>

Returns the associated SuspendExecutable that accepts this Statement type as an argument, allowing the provided statement to be then sent to the database for execution.