aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/right.cpp
blob: a8ab4bf968580a7fc6c38f21c2d5dcda8b6c3155 (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(Right)
{
    factory.registerFunction<FunctionLeftRight<false, SubstringDirection::Right>>({}, FunctionFactory::CaseInsensitive);
    factory.registerFunction<FunctionLeftRight<true, SubstringDirection::Right>>({}, FunctionFactory::CaseSensitive);
}

}