aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/left.cpp
blob: 006706c8f2163cd028207e262982db1a367a98f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <Functions/FunctionFactory.h>
#include <Functions/LeftRight.h>

namespace DB
{

REGISTER_FUNCTION(Left)
{
    factory.registerFunction<FunctionLeftRight<false, SubstringDirection::Left>>({}, FunctionFactory::CaseInsensitive);
    factory.registerFunction<FunctionLeftRight<true, SubstringDirection::Left>>({}, FunctionFactory::CaseSensitive);
}

}