url_encode
Descriptionβ
Converts an encode url string.
Syntaxβ
url_encode(str)
Parametersβ
str
: the string to encode. Ifstr
is not a string type, it will try implicit cast first.
Return valuesβ
Return an encode string.
Examplesβ
mysql> select url_encode('https://docs.starrocks.io/en-us/latest/quick_start/Deploy');
+-------------------------------------------------------------------------+
| url_encode('https://docs.starrocks.io/en-us/latest/quick_start/Deploy') |
+-------------------------------------------------------------------------+
| https%3A%2F%2Fdocs.starrocks.io%2Fen-us%2Flatest%2Fquick_start%2FDeploy |
+-------------------------------------------------------------------------+