Skip to main content

Module sql

Module sql 

Source

Functionsยง

by_tool_query
Build a by-tool grouped query.
by_user_query
Build a by-user grouped query (requires JOIN with users).
time_range_filter
Convert a time-range string to a SQL WHERE clause fragment.
totals_query
Build a totals query for sessions matching team_id = ?1.