ResultRow

class ResultRow(val fieldIndex: Map<Expression<*>, Int>, data: Array<Any?> = arrayOfNulls<Any?>(fieldIndex.size))

A row of data representing a single record retrieved from a database result set.

Constructors

Link copied to clipboard
constructor(fieldIndex: Map<Expression<*>, Int>, data: Array<Any?> = arrayOfNulls<Any?>(fieldIndex.size))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Mapping of the expressions stored on this row to their index positions.

Functions

Link copied to clipboard
operator fun <T> get(expression: Expression<T>): T

Retrieves the value of a given expression on this row.

Link copied to clipboard
fun <T> getOrNull(expression: Expression<T>): T?

Retrieves the value of a given expression on this row. Returns null in the cases an exception would be thrown in get.

Link copied to clipboard
fun <T> hasValue(expression: Expression<T>): Boolean

Whether the given expression has been initialized with a value on this row.

Link copied to clipboard
operator fun <T> set(expression: Expression<out T>, value: T)

Sets the value of a given expression on this row.

Link copied to clipboard
open override fun toString(): String