Skip to main content

execute_db

Function execute_db 

Source
pub async fn execute_db(
    client: &DbClient,
    config: &WaypointConfig,
    target: DiffTarget,
) -> Result<DiffReport>
Expand description

Execute the diff command (dialect-aware entry).

Generated SQL is PostgreSQL-flavored when comparing PG schemas. On MySQL the structural diffs list is populated correctly but generated_sql is best-effort PG-shaped — consume the structured diffs for MySQL until a MySQL DDL generator lands.