mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-20 08:18:52 +00:00
Statements that fit the configured width stay on one line; longer ones put each clause on its own line with elements aligned under the first one, logical operators start continuation lines, and CREATE TABLE definitions align on a column grid. The printer walks the AST from sql-formatter's bundled parser and degrades to the public format() API for tabular indent styles and inputs it cannot model. Defaults change to fromClauseLayout=sameLine and expressionWidth=120.
Crates
Rust crates for DBX live here.
Directories
dbx-core/- shared database core, drivers, schema/query logic, import/export, transfer, and plugin support.dbx-web/- the Docker/web backend service binary published asdbx-web.
The workspace root is defined in the repository-level Cargo.toml.