The ToBase64() function encodes a text or a file to base64arrow-up-right encoded text.
ToBase64()
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(
text
)
ToBase64("SomeText or Other 1234") => "U29tZVRleHQgb3IgT3RoZXIgMTIzNA=="
ToBase64("SomeText or Other 1234")
file
ToBase64([File Field]) => "U29t... all-base64 chars to represent file ... IgT3RoZXI=="
ToBase64([File Field])
☑️
a text
a file
Last updated 7 months ago
Was this helpful?