PreparedStatementBase

sealed interface PreparedStatementBase(source)

Base for all prepared statement implementations.

Inheritors

Properties

Link copied to clipboard
abstract val columnCount: Int

Number of columns in the result set.

Link copied to clipboard

Database connection to which this statement belongs.

Link copied to clipboard
abstract val expandedSql: String?

SQL associated with the statement with bound parameters expanded.

Link copied to clipboard

Explain mode.

Link copied to clipboard
abstract val isBusy: Boolean

Whether the prepared statement has been stepped at least once using step but has neither run to completion (returned null from step) nor been reset.

Link copied to clipboard
abstract val isReadOnly: Boolean

Whether the prepared statement makes no direct changes to the content of the database file.

Link copied to clipboard
abstract val sql: String

SQL text used to create this statement.

Functions

Link copied to clipboard

Returns the current value of the given counter, without resetting it.