Skip to main content

query_top_commands

Function query_top_commands 

Source
pub fn query_top_commands(
    conn: &Connection,
    decision_filter: &str,
    since: Option<&str>,
    limit: usize,
) -> Result<Vec<(String, i64)>, RippyError>
Expand description

Query top commands by decision type.

§Errors

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