Skip to main content

validate

Function validate 

Source
pub fn validate(sql: &str, dialect: DialectType) -> ValidationResult
Expand description

Validate SQL syntax.

§Arguments

  • sql - The SQL string to validate
  • dialect - The dialect to use for validation

§Returns

A validation result with any errors found