Skip to main content

execute

Function execute 

Source
pub fn execute(
    query: &QueryNode,
    conn: &Connection,
    limit: Option<usize>,
) -> Result<Vec<LogEntry>>
Expand description

Execute a parsed query against the index and return matching entries.

limit caps the result set size; pass None for no limit. Results are ordered by timestamp DESC, id DESC (newest first, with row id as stable tiebreaker for identical timestamps).