mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
25 lines
465 B
C++
25 lines
465 B
C++
|
#include <Functions/FunctionBase58Conversion.h>
|
||
|
#include <Functions/FunctionFactory.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
namespace
|
||
|
{
|
||
|
|
||
|
struct NameBase58Decode
|
||
|
{
|
||
|
static constexpr auto name = "base58Decode";
|
||
|
};
|
||
|
|
||
|
using Base58DecodeImpl = Base58Decode<NameBase58Decode, Base58DecodeErrorHandling::ThrowException>;
|
||
|
using FunctionBase58Decode = FunctionBase58Conversion<Base58DecodeImpl>;
|
||
|
|
||
|
}
|
||
|
|
||
|
REGISTER_FUNCTION(Base58Decode)
|
||
|
{
|
||
|
factory.registerFunction<FunctionBase58Decode>();
|
||
|
}
|
||
|
|
||
|
}
|