← Back to Stormify Documentation

execute

expect fun <R : Any> execute(type: KClass<R>): R?

Executes the single-value aggregation and returns the column value cast to type, or null if no rows match the current filter state.

fun <R : Any> execute(type: Class<R>): R?

Java-friendly overload of execute that accepts a Class instead of a Kotlin KClass. Delegates to the common implementation.


actual fun <R : Any> execute(type: KClass<R>): R?

Executes the single-value aggregation and returns the column value cast to type, or null if no rows match the current filter state.

actual fun <R : Any> execute(type: KClass<R>): R?

Executes the single-value aggregation and returns the column value cast to type, or null if no rows match the current filter state.