View Source Plausible.Stats.Query (Plausible v0.0.1)
Summary
Functions
Builds query from old-style params. New code should prefer Query.build
Types
@type t() :: %Plausible.Stats.Query{ date_range: term(), dimensions: term(), experimental_reduced_joins?: term(), filters: term(), include: term(), include_imported: term(), interval: term(), latest_import_end_date: term(), legacy_breakdown: term(), metrics: term(), now: term(), order_by: term(), period: term(), preloaded_goals: term(), sample_threshold: term(), skip_imported_reason: term(), timezone: term(), v2: term() }
Functions
@spec from(Plausible.Site.t(), map()) :: t()
Builds query from old-style params. New code should prefer Query.build
@spec trace( %Plausible.Stats.Query{ date_range: term(), dimensions: term(), experimental_reduced_joins?: term(), filters: term(), include: term(), include_imported: term(), interval: term(), latest_import_end_date: term(), legacy_breakdown: term(), metrics: term(), now: term(), order_by: term(), period: term(), preloaded_goals: term(), sample_threshold: term(), skip_imported_reason: term(), timezone: term(), v2: term() }, [atom()] ) :: %Plausible.Stats.Query{ date_range: term(), dimensions: term(), experimental_reduced_joins?: term(), filters: term(), include: term(), include_imported: term(), interval: term(), latest_import_end_date: term(), legacy_breakdown: term(), metrics: term(), now: term(), order_by: term(), period: term(), preloaded_goals: term(), sample_threshold: term(), skip_imported_reason: term(), timezone: term(), v2: term() }