execute

suspend fun Flow<SearchFlowItem>.execute(): SearchResult

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


inline suspend fun Flow<SearchFlowItem>.execute(crossinline rowAction: suspend (SearchRow) -> Unit): SearchMetadata

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