mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
18 lines
305 B
C++
18 lines
305 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
using FunctionAddYears = FunctionDateOrDateTimeAddInterval<AddYearsImpl>;
|
|
|
|
void registerFunctionAddYears(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionAddYears>();
|
|
}
|
|
|
|
}
|
|
|
|
|