QueryResult

interface QueryResult<T>

The returned value is the result of a database query or other database operation.

This interface enables drivers to be based on non-blocking APIs where the result can be obtained using the suspending await method. See AsyncValue.

Inheritors

Types

Link copied to clipboard
value class AsyncValue<T>(getter: suspend () -> T) : QueryResult<T>
Link copied to clipboard
object Companion
Link copied to clipboard
value class Value<T>(val value: T) : QueryResult<T>

Properties

Link copied to clipboard
open val value: T

Functions

Link copied to clipboard
abstract suspend fun await(): T