From 97f33ec4eb9a2a9a7321f1a3728efd792eb421cc Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Wed, 17 Apr 2019 13:15:30 +0300 Subject: [PATCH] Added doc for HEX functions --- doc/sql.extensions/README.builtin_functions.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/sql.extensions/README.builtin_functions.txt b/doc/sql.extensions/README.builtin_functions.txt index 8dc757c0f1..baad51923d 100644 --- a/doc/sql.extensions/README.builtin_functions.txt +++ b/doc/sql.extensions/README.builtin_functions.txt @@ -575,6 +575,21 @@ Example: select hash(x using sha256) from y; +----------------------------- +HEX_ENCODE / HEX_DECODE +----------------------------- + +Function: + Encodes / decodes input data to / from hexadecimal representation. Works with character strings and blobs. + +Format: + HEX_ENCODE( ) + HEX_DECODE( ) + +Example: + select hex_encode(public_key) from clients; + + -------- LAST_DAY --------