1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
pub mod rewrite; use sqlparser::ast::Statement; use crate::TranspileOptions; /// Trait for dialect-specific transpilation logic. pub trait Transpiler { /// Transform a parsed SQL statement into target-dialect-compatible form. fn transpile_statement( &self, stmt: Statement, opts: &TranspileOptions, ) -> crate::Result<Statement>; }