sqruff_lib::api::simple

Function lint

Source
pub fn lint(
    sql: String,
    dialect: String,
    exclude_rules: Option<Vec<String>>,
    config_path: Option<String>,
) -> Result<Vec<SQLBaseError>, SQLFluffUserError>