ClickHouse/docs/en/formats/values.md
BayoNet 13d9a4eebe Sources for english documentation switched to Markdown.
Edit page link is fixed too for both language versions of documentation.
2017-12-28 18:13:23 +03:00

879 B
Raw Blame History

Values

Prints every row in brackets. Rows are separated by commas. There is no comma after the last row. The values inside the brackets are also comma-separated. Numbers are output in decimal format without quotes. Arrays are output in square brackets. Strings, dates, and dates with times are output in quotes. Escaping rules and parsing are similar to the TabSeparated format. During formatting, extra spaces aren't inserted, but during parsing, they are allowed and skipped (except for spaces inside array values, which are not allowed).

The minimum set of characters that you need to escape when passing data in Values format: single quotes and backslashes.

This is the format that is used in INSERT INTO t VALUES ... Но вы также можете использовать его для форматирования результатов запросов.