sqldelight-runtime / com.squareup.sqldelight / Query / executeAsOne

executeAsOne

fun executeAsOne(): RowType

Exceptions

NullPointerException - if when executed this query has no rows in its result set.

IllegalStateException - if when executed this query has multiple rows in its result set.

Return
The only row of the result set for the underlying SQL statement as a non null RowType.