Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Aggregation

import type { Aggregation } from "https://googleapis.deno.dev/v1/migrationcenter:v1.ts";

Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.

interface Aggregation {
field?: string;
}

§Properties

§

Count the number of matching objects.

§
field?: string
[src]

The name of the field on which to aggregate.

§

Creates a frequency distribution of all field values.

§

Creates a bucketed histogram of field values.

§

Sum over a numeric field.