execute

suspend fun Flow<AnalyticsFlowItem>.execute(): AnalyticsResult

Collects an analytics query Flow into an AnalyticsResult. Should only be called if the query results are expected to fit in memory.


inline suspend fun Flow<AnalyticsFlowItem>.execute(crossinline rowAction: suspend (AnalyticsRow) -> Unit): AnalyticsMetadata

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