Skip to main content

as_of_query_label_values

Function as_of_query_label_values 

Source
pub(crate) fn as_of_query_label_values<T>(
    session_type: &'static str,
    application_name: ApplicationNameHint,
    stmt: &Statement<T>,
) -> Option<[&'static str; 4]>
where T: AstInfo,
Expand description

Returns the mz_as_of_queries_total label values for an execution of stmt, or None if stmt is not a SELECT or SUBSCRIBE with an AS OF clause. A COPY counts as the statement it copies.