ToBase64
Last updated
Was this helpful?
The ToBase64() function encodes a text or a file to base64 encoded text.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Encoding is carried out using the UTF8 charset.
Returns a base64 encoded text.
If the parameter is not a valid text or a file, unknown is returned.
ToBase64(file)ToBase64([File Field])
=> "U29t... all-base64 chars to represent file ... IgT3RoZXI=="
text
text
☑️
a text
file
file
☑️
a file
Last updated
Was this helpful?
Was this helpful?