pub fn validate_query(query: &Query) -> Result<(), SqlError>Expand description
Walks a parsed query tree and rejects features outside the v1 supported surface (recursive CTEs, ORDER BY without LIMIT, etc).
ยงErrors
Returns SqlError::UnsupportedFeature (or related variants) on
the first construct that lies outside the supported surface.