sqruff_lib::api::simple

Function lint_with_formatter

Source
pub fn lint_with_formatter(
    sql: &str,
    dialect: String,
    exclude_rules: Option<Vec<String>>,
    config_path: Option<String>,
    formatter: Option<Arc<dyn Formatter>>,
) -> Result<Vec<SQLBaseError>, SQLFluffUserError>
Expand description

Lint a SQL string.