Skip to main content

transform

Function transform 

Source
pub fn transform(
    statement: &Statement,
    from: &DialectRef,
    to: &DialectRef,
) -> Statement
Expand description

Transform a statement from one dialect to another, supporting custom dialect plugins.

For built-in → built-in transforms this delegates to the existing super::transform. When either side is a custom dialect the plugin’s transform hooks are applied.