Method ExecuteAggregateAsync(long, string, AggregateFunction, FilterExpression?)

Assembly: redb.Core.dll

Execute single-field aggregation with FilterExpression (Pro version).
Free fallback: converts FilterExpression to facet-JSON.

public virtual Task<decimal?> ExecuteAggregateAsync(long schemeId, string fieldPath, AggregateFunction function, FilterExpression? filter)