Skip to main content

Module output

Module output 

Source
Expand description

How oxide sql renders a result set (#49).

The table form is for a person reading a terminal; json and csv exist so the same query can feed a script without a second tool to parse the box drawing. All three render the same batches — the format is a rendering choice made after execution, never a planning one, so a result cannot differ between them.

Enums§

OutputFormat
Output formats accepted by oxide sql --output.

Functions§

render
Renders batches in format, terminated by a newline.