mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
14 lines
364 B
C++
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);
|
|
}
|
|
|
|
}
|