Expand description
The built-in message format: a Binding’s query results rendered through Jinja into a short
headline, a title plus text in portable Markdown (dre_protocol::markdown).
Templates read results.<query>: value (first column of the first row), first.<column>,
rows (at most max_rows), row_count (exact), columns and sets[n]. With neither
text: nor file:, default_text writes one block per query.
Structs§
- Query
Result - One query’s result as message templates see it.
Constants§
- DEFAULT_
MAX_ ROWS - How many rows of each query
results.<query>.rowsholds by default. - MESSAGE_
KEYS - A message output’s own options (besides the shared output keys).
Functions§
- default_
text - The default message: one block per query. A single value is
label: value; one row islabel: valuelines; several rows are a list of at most ten, then+ N more. - excerpt
- One line for the log: the title and the start of the text, as plain text.
- file_
body - What a message output writes to its
.mdfile.