mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +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>();
|
|
}
|
|
|
|
}
|
|
|
|
|