QueryDataset interface

The definition of data present in the query.

Properties

aggregation

Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses.

configuration

Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided.

filter

The filter expression to use in the query. Please reference our Query API REST documentation for how to properly format the filter.

granularity

The granularity of rows in the query.

grouping

Array of group by expression to use in the query. Query can have up to 2 group by clauses.

Property Details

aggregation

Dictionary of aggregation expression to use in the query. The key of each item in the dictionary is the alias for the aggregated column. Query can have up to 2 aggregation clauses.

aggregation?: {[propertyName: string]: QueryAggregation}

Property Value

{[propertyName: string]: QueryAggregation}

configuration

Has configuration information for the data in the export. The configuration will be ignored if aggregation and grouping are provided.

configuration?: QueryDatasetConfiguration

Property Value

filter

The filter expression to use in the query. Please reference our Query API REST documentation for how to properly format the filter.

filter?: QueryFilter

Property Value

granularity

The granularity of rows in the query.

granularity?: string

Property Value

string

grouping

Array of group by expression to use in the query. Query can have up to 2 group by clauses.

grouping?: QueryGrouping[]

Property Value