sql::statements::transform

Trait TransformRule

source
pub(crate) trait TransformRule: Send + Sync {
    // Provided methods
    fn visit_statement(&self, _stmt: &mut Statement) -> Result<()> { ... }
    fn visit_expr(&self, _expr: &mut Expr) -> ControlFlow<()> { ... }
}
Expand description

Transform rule to transform statement or expr

Provided Methods§

source

fn visit_statement(&self, _stmt: &mut Statement) -> Result<()>

Visit a Statement

source

fn visit_expr(&self, _expr: &mut Expr) -> ControlFlow<()>

Visit an Expr

Implementors§