mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
14 lines
360 B
C++
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);
|
|
}
|
|
|
|
}
|