Skip to main content

build_data_migration

Function build_data_migration 

Source
pub fn build_data_migration(sql: &DataMigrationSql) -> Vec<BuiltQuery>
Expand description

Emit a DataMigration action’s SQL verbatim, per backend.

The statement is passed through untouched: no case folding, no cast rewriting, no reformatting. Every backend-normalising helper in this crate (convert_default_for_backend, normalize_fill_with, …) is deliberately bypassed — the user wrote executable SQL and gets exactly that SQL back.