Class: AnalyticsQuery

AnalyticsQuery


new AnalyticsQuery()

Class for dynamically construction of Analytics queries. This class should never be constructed directly, instead you should use the AnalyticsQuery.fromString static method to instantiate a AnalyticsStringQuery instead.

Since:
  • 2.6.0 (stability: uncommitted)

Methods


<static> fromString(str)

Creates a query object directly from the passed query string.

Parameters:
Name Type Description
str string

The analytics query string.

Since:
  • 2.6.0 (stability: committed)
Returns:
Type
AnalyticsStringQuery

toString()

Returns the fully prepared string representation of this query.

Since:
  • 2.6.0 (stability: uncommitted)