singleOrNull

Executes the query and returns at most one row converted to T, or null if the query returns no rows.

A reified shortcut for FetchSpec.singleOrNull.


inline suspend fun <T : Any> KueryClient.FetchSpec.singleOrNull(): T?(source)

Executes the query and returns at most one row converted to T, or null if the query returns no rows.

A reified shortcut for FetchSpec.singleOrNull.