提交 98457fd5 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #168 from hatarist/reference_concat

Updated concat() description in the reference
......@@ -4716,9 +4716,8 @@ If value contains invalid UTF-8, the behavior is unspecified.
===reverseUTF8===
- Reverses a sequence of Unicode code points, assuming that the string contains a set of bytes representing a UTF-8 text. Otherwise, it does something else (it doesn't throw an exception).
===concat(s1, s2)===
- Concatenates two strings, without a separator.
If you need to concatenate more than two strings, write 'concat' multiple times.
===concat(s1, s2, ...)===
- Concatenates strings from the function arguments, without a separator.
===substring(s, offset, length)===
- Returns a substring starting with the byte from the 'offset' index that is 'length' bytes long. Character indexing starts from one (as in standard SQL). The 'offset' and 'length' arguments must be constants.
......
......@@ -4801,9 +4801,8 @@ SELECT
===reverseUTF8===
- разворачивает последовательность кодовых точек Unicode, при допущении, что строка содержит набор байт, представляющий текст в кодировке UTF-8. Иначе - что-то делает (не кидает исключение).
===concat(s1, s2)===
- склеивает две строки, без разделителей.
Если нужно склеить больше двух строк - пишите concat несколько раз.
===concat(s1, s2, ...)===
- склеивает строки, перечисленные в аргументах, без разделителей.
===substring(s, offset, length)===
- возвращает подстроку, начиная с байта по индексу offset, длины length байт. Индексация символов - начиная с единицы (как в стандартном SQL). Аргументы offset и length должны быть константами.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册