toSingleOf
open override fun <T> toSingleOf(kType: KType, params: Map<String, Any?>, mapper: DataMapper<T & Any>): DataResult<T>
Executes the query and maps the result to a single object using the provided mapper.
Executes the query and maps the result to a single object of the given type.