SQL exports from the CLI, one verb per output
The SQL DDL export is now on every surface. See Where to find the SQL DDL card.
- One verb per output:
apiome export sqlwrites a SQL script (alsosql-ddlandddl), andapiome export dbml,prisma,liquibaseandflywaywrite the other outputs. Every one takes--dialect postgres|mysql|ansiand prints the fidelity report. - The card: under Data schema & graph in the Export dialog, with a types-only badge and every output and dialect in its options; greyed out, with the reason, for an item with no record type.
- Checked per dialect: every SQL script is parsed in its own dialect before you download it.
