mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +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);
|
|
}
|
|
|
|
}
|