addColumn method

SelectStatement addColumn(
  1. Expression<Object> expression
)

Adds a column 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

SelectStatement addColumn(Expression expression) {
  return _asSelectStatement()..structure.addColumn(expression);
}