mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
14 lines
378 B
C++
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);
|
|
}
|
|
|
|
}
|