Skip to main content

validate_readonly_query_with_max

Function validate_readonly_query_with_max 

Source
pub fn validate_readonly_query_with_max(
    sql: &str,
    max_chars: usize,
) -> Result<()>
Expand description

validate_readonly_query with another bound on the text: max_chars characters. Features that store queries keep the 20,000 default; a one-off runner may allow more.