ClickHouse/src/Functions/left.cpp
2022-01-05 05:32:40 +03:00

14 lines
378 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/LeftRight.h>
namespace DB
{
void registerFunctionLeft(FunctionFactory & factory)
{
factory.registerFunction<FunctionLeftRight<false, SubstringDirection::Left>>(FunctionFactory::CaseInsensitive);
factory.registerFunction<FunctionLeftRight<true, SubstringDirection::Left>>(FunctionFactory::CaseSensitive);
}
}