MCPcopy Create free account
hub / github.com/duckdb/duckdb / HighlightResults

Method HighlightResults

tools/shell/shell.cpp:323–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323bool ShellState::HighlightResults() const {
324 if (highlight_results == OptionType::DEFAULT) {
325 return stdout_is_console;
326 }
327 return highlight_results == OptionType::ON;
328}
329
330/* Used with ShellState::EvaluateSQL to indicate special result states */
331const string EVAL_SQL_ERROR = "#ERROR#:";

Callers 1

RenderQueryResultMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected