ClickHouse/src/Functions/base64Encode.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
363 B
C++
Raw Normal View History

2018-10-11 16:22:50 +00:00
#include <Functions/FunctionBase64Conversion.h>
2018-10-11 16:22:50 +00:00
#if USE_BASE64
#include <Functions/FunctionFactory.h>
2018-10-10 01:04:07 +00:00
namespace DB
{
REGISTER_FUNCTION(Base64Encode)
2018-10-10 01:04:07 +00:00
{
factory.registerFunction<FunctionBase64Conversion<Base64Encode>>();
2023-09-09 16:48:17 +00:00
/// MySQL compatibility alias.
factory.registerAlias("TO_BASE64", "base64Encode", FunctionFactory::CaseInsensitive);
2018-10-10 01:04:07 +00:00
}
2018-10-11 16:22:50 +00:00
}
2018-11-23 18:54:23 +00:00
#endif