use crate::compiler::ir::{CompileResult, QueryIR};
pub trait SqlDialect: Send + Sync {
fn compile(&self, ir: &QueryIR) -> CompileResult;
fn quote_identifier(&self, name: &str) -> String;
fn supports_count_distinct(&self) -> bool {
true
}
fn placeholder(&self) -> &str {
"?"
}
fn name(&self) -> &str;
}