Skip to main content

query_command_breakdown

Function query_command_breakdown 

Source
pub fn query_command_breakdown(
    conn: &Connection,
    since: Option<&str>,
) -> Result<Vec<CommandBreakdown>, RippyError>
Expand description

Query per-command decision breakdowns from the tracking database.

Returns one entry per unique command string with counts for each decision type.

§Errors

Returns RippyError::Tracking if the database cannot be queried.