pub fn transpile_by_name(
sql: &str,
read: &str,
write: &str,
) -> Result<Vec<String>>Expand description
Transpile SQL from one dialect to another, using string dialect names.
This supports both built-in dialect names (e.g., “postgresql”, “mysql”) and
custom dialects registered via CustomDialectBuilder.
§Arguments
sql- The SQL string to transpileread- The source dialect namewrite- The target dialect name
§Returns
A vector of transpiled SQL statements, or an error if a dialect name is unknown.