Expand description
Output formatting for CQL query results.
Provides type-aware tabular formatting using comfy-table and expanded (vertical)
output mode. Paging is handled externally by the minus pager crate.
Mirrors the Python cqlsh output formatting behavior.
Constantsยง
- CQLSH_
PRESET ๐ - A comfy-table preset matching Python cqlshโs simple pipe-separated output.
Functionsยง
- cql_
value_ ๐to_ json - Serialize a CqlValue to a JSON token.
- is_
numeric_ ๐type - Check if a CQL type name represents a numeric type.
- json_
escape_ ๐string - Escape a string for use as a JSON string value (without surrounding quotes).
- print_
expanded - Format and print query results in expanded (vertical) format.
- print_
json - Format and print query results as a JSON array.
- print_
tabular - Format and print query results in tabular format.
- print_
trace - Format tracing session output matching Python cqlsh style.