Back to Clickhouse

PrettyNoEscapes

docs/en/interfaces/formats/Pretty/PrettyNoEscapes.md

26.4.1.1-new797 B
Original Source

import PrettyFormatSettings from './_snippets/common-pretty-format-settings.md';

InputOutputAlias

Description {#description}

Differs from Pretty in that ANSI-escape sequences aren't used. This is necessary for displaying the format in a browser, as well as for using the 'watch' command-line utility.

Example usage {#example-usage}

Example:

bash
$ watch -n1 "clickhouse-client --query='SELECT event, value FROM system.events FORMAT PrettyCompactNoEscapes'"

:::note The HTTP interface can be used for displaying this format in the browser. :::

Format settings {#format-settings}

<PrettyFormatSettings/>