encode_base64#

Description#

EncodeBase64 encodes the input in the base64 format

Return type#

string

Domain#

This is a scalar function (calculates a single output value for a single input row.)

Categories#

Usage#

encode_base64(str, [ urlSafe ])

Argument

Type

Optional

Repeatable

Restrictions

str

string

no

no

none

urlSafe

bool

yes

no

constant

Examples#

make_col encoded:encode_base64(log)

Encodes the value of the field log in the base64 encoding

make_col encoded:encode_base64(log, true)

Encodes the value of the field log in the url safe base64 encoding

Aliases#

encodebase64 (deprecated)