ClickHouse/src/Functions/right.cpp
2024-07-17 20:56:30 +00:00

14 lines
364 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/LeftRight.h>
namespace DB
{
REGISTER_FUNCTION(Right)
{
factory.registerFunction<FunctionLeftRight<false, SubstringDirection::Right>>({}, FunctionFactory::Case::Insensitive);
factory.registerFunction<FunctionLeftRight<true, SubstringDirection::Right>>({}, FunctionFactory::Case::Sensitive);
}
}