executeSuspendingAsList

suspend fun <T : Any> Query<T>.executeSuspendingAsList(): List<T>

Deprecated

Use awaitAsList() instead, will be removed in 0.7

Replace with

import app.cash.sqldelight.async.coroutines.awaitAsList
awaitAsList()

Workaround suspending method to use with SQLite3 async driver. Use this instead of non-async method Query.executeAsList.

Return

The result set of the underlying SQL statement as a list of RowType.