Skip to main content

transpile_with_comments

Function transpile_with_comments 

Source
pub fn transpile_with_comments(
    sql: &str,
    read_dialect: Dialect,
    write_dialect: Dialect,
) -> Result<String>
Expand description

Transpile a SQL string preserving comments through the pipeline.

ยงErrors

Returns a SqlglotError if parsing fails.