pub fn validate_readonly_query(sql: &str) -> Result<()>Expand description
Require exactly one read-only SELECT statement (CTEs, subqueries, set operations and pipe
syntax allowed) of at most MAX_READONLY_QUERY_CHARS characters. Comments, and semicolons
after the statement, are fine.