addColumns method

void addColumns(
  1. Iterable<Expression<Object>> columns
)

Adds multiple columns to this query.

The column will be evaluated for each row of the expression. To read the result of the expression in a row, use DriftRow.read.

Implementation

void addColumns(Iterable<Expression> columns) {
  for (final column in columns) {
    expressions[column] ??= _nextPosition;
  }
}