docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc.statements/-r2dbc-prepared-statement-impl/index.html
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.
The result row generated by executing this statement contains auto-generated keys based on the value of wasGeneratedKeysRequested.
Members
Link copied to clipboard
constructor(statement: Statement, connection: Connection, wasGeneratedKeysRequested: Boolean, currentDialect: DatabaseDialect, typeMapping: R2dbcTypeMapping)
Link copied to clipboard
val connection: Connection
Link copied to clipboard
val wasGeneratedKeysRequested: Boolean
Link copied to clipboard
open suspend override fun addBatch()
Adds parameters to the statement's batch of SQL commands.
Link copied to clipboard
open suspend override fun executeBatch(): List<Int>
Executes batched SQL statements stored as an io.r2dbc.spi.Statement.
Link copied to clipboard
open suspend override fun executeMultiple(): List<StatementResult>
Executes multiple SQL statements stored in a single io.r2dbc.spi.Statement.
Link copied to clipboard
open suspend override fun executeQuery(): R2dbcResult
Executes an SQL query stored in an io.r2dbc.spi.Statement.
Link copied to clipboard
open suspend override fun executeUpdate()
Executes an SQL statement stored in an io.r2dbc.spi.Statement.
Link copied to clipboard
open fun fillParameters(args: Iterable<Pair<IColumnType<*>, Any?>>): Int
Link copied to clipboard
open suspend override fun getResultRow(): R2dbcResult?
The R2dbcResult generated by the executed statement, or null if none was retrieved.
Link copied to clipboard
open override fun set(index: Int, value: Any, columnType: IColumnType<*>)
Link copied to clipboard
open override fun setArray(index: Int, type: ArrayColumnType<*, *>, array: Array<*>)
Link copied to clipboard
open suspend override fun setFetchSize(value: Int?)
Set the number of result set rows that should be fetched when generated by an executed statement.
Link copied to clipboard
open override fun setInputStream(index: Int, inputStream: InputStream, setAsBlobObject: Boolean)
Link copied to clipboard
open override fun setNull(index: Int, columnType: IColumnType<*>)
Link copied to clipboard
open suspend override fun setTimeout(value: Int?)
Set the number of seconds the R2DBC driver will wait for a statement to execute.
Generated by Dokka © 2026 Copyright