ClickHouse/src/Functions/addYears.cpp

18 lines
276 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionAddYears = FunctionDateOrDateTimeAddInterval<AddYearsImpl>;
REGISTER_FUNCTION(AddYears)
{
factory.registerFunction<FunctionAddYears>();
}
}