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

PivotOrderBy

import type { PivotOrderBy } from "https://googleapis.deno.dev/v1/analyticsdata:v1beta.ts";

Sorts by a pivot column group.

interface PivotOrderBy {
metricName?: string;
pivotSelections?: PivotSelection[];
}

§Properties

§
metricName?: string
[src]

In the response to order by, order rows by this column. Must be a metric name from the request.

§
pivotSelections?: PivotSelection[]
[src]

Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.