AsyncQueryBuilder
internal class AsyncQueryBuilder(builder: AbstractQueryBuilder<*>, scope: CoroutineScope, ioDispatcher: CoroutineDispatcher) : AsyncTerminalMethods
Internal implementation of AsyncTerminalMethods.
Executes database queries asynchronously on the IO dispatcher and returns results to the original coroutine context (e.g., UI).
Constructors
Link copied to clipboard
constructor(builder: AbstractQueryBuilder<*>, scope: CoroutineScope, ioDispatcher: CoroutineDispatcher)
Functions
Link copied to clipboard
open override fun <T> toFieldStrict(kType: KType, params: Map<String, Any?>, onResult: (DataResult<T>) -> Unit): Job
Link copied to clipboard
open override fun <T> toSingleOf(kType: KType, params: Map<String, Any?>, onResult: (DataResult<T>) -> Unit): Job
Link copied to clipboard
open override fun toSingleStrict(params: Map<String, Any?>, onResult: (DataResult<Map<String, Any?>>) -> Unit): Job