execute

suspend fun Flow<QueryFlowItem>.execute(): QueryResult

Collects a query Flow into a QueryResult. Should only be called if the query results are expected to fit in memory.


inline suspend fun Flow<QueryFlowItem>.execute(crossinline rowAction: suspend (QueryRow) -> Unit): QueryMetadata

Collects a query Flow, passing each result row to the given lambda. Returns metadata about the query.