withAvg method

ModelQuery<T> withAvg(
  1. Object relations,
  2. String column
)

Adds <relation>_avg_<column> columns.

Implementation

ModelQuery<T> withAvg(Object relations, String column) =>
    _withAggregate(relations, 'avg', column);