Expand description
Report queries: which dimensions exist, where each lives, and how filters are read from a URL. Shared by every store.
Structs§
- Filter
- A filter: a dimension,
is,not, orcontains, and a value. - Query
- What a report reads: a site, a span of time, and filters.
Constants§
- EVENT_
DIMENSIONS - Dimensions recorded per event, and their columns.
- MAX_
FILTERS - The most filters a query takes, which keeps every statement within Cloudflare D1’s 100 values.
- SESSION_
DIMENSIONS - Dimensions recorded once per session, from its first request, and their columns.
Functions§
- column_
of - The column a dimension lives in.
- dimensions
- Every dimension a report can break down by: event ones, session ones, then the AI agent fetches, which are their own rows outside visits.
- is_
dimension - Whether a report can break down by this dimension.
- is_
event_ dimension - Whether the dimension is recorded per event.
- is_
session_ dimension - Whether the dimension is recorded once per session.
- parse_
filter dimension:op:value, where the value may itself contain colons.