queryAnalysis is a datatype for a namespace for various query analyses and transformations.

Table: queryAnalysis

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Aug 21, 2025
drilldownsdrilldownsyes PreviewThe number associated with the type of page. See drilldowns.
filterPartstringyes PreviewThe query string up to the first aggregator.
isAggregatebooleanyes PreviewWhether the query contains an aggregator.
isSinglePhasebooleanyes PreviewWhether the query doesn't contain a join-like function.
isValidFilterAlertQuery(viewName: string): booleanmultipleyes Preview

Checks if a query is fit for use for a filter alert.

This is deprecated and is no longer used internally. It will be removed in version 1.207. Use instead the analyzeQuery() query with the suggestedAlertType parameter.