Skip to main content

process_analytics

Function process_analytics 

Source
pub fn process_analytics(
    db: &Db,
    payload: &Value,
    max_body_size: usize,
) -> Value
Expand description

Handle an analytics query request.

Parses the payload as an AnalyticsQuery and executes it against the database. Returns the result value and execution metadata (time, rows scanned).

Note: this function exists but is not currently wired to an HTTP route. It is available for future use or direct calls from other handlers.