Expand description
Database dialect abstraction.
Waypoint targets multiple SQL engines. Dialect-specific behavior — identifier
quoting, history-table DDL, lock-level mapping for DDL operations, statement
splitter rules, and so on — is funneled through the DatabaseDialect trait
so that the rest of the codebase can be engine-agnostic where possible and
explicit about engine-specific paths where not.
Connection-dependent operations live on crate::db::DbClient which dispatches
based on its variant (Postgres / MySQL).
Modules§
- postgres
- PostgreSQL dialect implementation.
Enums§
- Dialect
Kind - Identifier of which dialect a connection or piece of code targets.
Traits§
- Database
Dialect - Describes how migrations should be split, locked, and tracked on a given engine.