Skip to main content

Module ddl

Module ddl 

Source
Expand description

DDL (Data Definition Language) generation from schema operations.

This module converts SchemaOperations from the diff engine into executable SQL statements for each supported database dialect (SQLite, MySQL, PostgreSQL).

Structs§

MysqlDdlGenerator
DDL generator for MySQL.
PostgresDdlGenerator
DDL generator for PostgreSQL.
SqliteDdlGenerator
DDL generator for SQLite.

Traits§

DdlGenerator
Generates DDL SQL statements from schema operations.

Functions§

generator_for_dialect
Create a DDL generator for the given dialect.