Skip to content
Sheetwrite

@sheetwrite/core

QueryAggregateinterface

Report a problem

On this page

Column is required except for countRows; numeric aggregates ignore nulls.

Members

Properties

readonly id: string;

read-only

Stable ID of the output column the aggregate makes.

readonly name: string;

read-only

Header text of that output column.

readonly op: "countRows" | "count" | "sum" | "average" | "min" | "max";

read-only

countRows counts rows; count counts non-null values; the others work on numbers.

readonly column?: string;

read-onlyoptional

ID of the column the aggregate reads.

Declaration

View full TypeScript declaration
export interface QueryAggregate {
readonly id: string;
readonly name: string;
readonly op: "countRows" | "count" | "sum" | "average" | "min" | "max";
readonly column?: string;
}

Referenced by

Public exports naming QueryAggregate