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

AggregationConstraint

import type { AggregationConstraint } from "https://aws-api.deno.dev/v0.4/services/cleanrooms.ts?docs=full";

Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.

interface AggregationConstraint {
columnName: string;
minimum: number;
}

§Properties

§
columnName: string
[src]

Column in aggregation constraint for which there must be a minimum number of distinct values in an output row for it to be in the query output.

§
minimum: number
[src]

The minimum number of distinct values that an output row must be an aggregation of. Minimum threshold of distinct values for a specified column that must exist in an output row for it to be in the query output.

§

The type of aggregation the constraint allows. The only valid value is currently COUNT_DISTINCT.