Skip to main content

extract_tql_exprs_from_statement

Function extract_tql_exprs_from_statement 

Source
pub fn extract_tql_exprs_from_statement(stmt: &Statement) -> Option<Vec<Expr>>
Expand description

The PromQL expressions a query statement evaluates through TQL: its own, or those of its TQL CTEs, looking through EXPLAIN. Returns None when one of them does not parse.