MssqlAggregate.count constructor

MssqlAggregate.count(
  1. MssqlExpression operand, {
  2. bool distinct = false,
})

COUNT(x): the number of non-null values.

Implementation

factory MssqlAggregate.count(
  MssqlExpression operand, {
  bool distinct = false,
}) => MssqlAggregate._(
  function: MssqlAggregateFunction.count,
  operand: operand,
  resultType: const MssqlColumnType(type: MssqlType.int32, nullable: false),
  distinct: distinct,
  window: null,
);