ClickHouse/src/Functions/right.cpp
2022-08-27 22:06:57 +02:00

14 lines
360 B
C++

#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);
}
}