Expand description
Public rendering helpers used by both the CLI binary and the test suite.
Functions§
- render_
column_ type - Render a column type as a DDL token.
- render_
explain - Render the
.explain <sql>REPL output. Runs the SQL to populate the trace, then formats the physical plan + index-usage summary. - render_
sync_ status - Render the
.sync statusoutput buffer. Includes the live committed-TxId. - render_
table_ meta - Render a table’s
.schemaDDL. Auto-indexes (kind == IndexKind::Auto) are suppressed from output to keep.schemafocused on user-authored DDL. Passrender_table_meta_verboseto include them. - render_
table_ meta_ verbose - Render a table’s
.schemaDDL INCLUDING auto-indexes. Used by.schema --verbose/EXPLAIN SCHEMA tfor agents that need to see the full picture. - value_
to_ string - Render a single
Valueas the CLI displays it in SELECT output.