to_base64
description
Syntax
VARCHAR to_base64(VARCHAR str)
Returns the result of Base64 encoding the input string
example
1. mysql> select to_base64('1');
2. +----------------+
3. | to_base64('1') |
4. +----------------+
5. | MQ== |
6. +----------------+
8. mysql> select to_base64('234');
9. +------------------+
10. | to_base64('234') |
11. +------------------+
12. | MjM0 |
13. +------------------+
keywords
1. to_base64
