pub fn transform(statement: &Statement, from: Dialect, to: Dialect) -> StatementExpand description
Transform a statement from one dialect to another.
This applies dialect-specific rewrite rules such as:
- Type mapping (e.g.,
TEXT→STRINGfor BigQuery) - Function name mapping (e.g.,
NOW()→CURRENT_TIMESTAMP()) - ILIKE → LIKE with LOWER() wrapping for dialects that don’t support ILIKE