ClickHouse/src/Functions/subtractYears.cpp

19 lines
361 B
C++
Raw Normal View History

2021-05-15 17:33:15 +00:00
#include <Functions/IFunctionOld.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionSubtractYears = FunctionDateOrDateTimeAddInterval<SubtractYearsImpl>;
void registerFunctionSubtractYears(FunctionFactory & factory)
{
factory.registerFunction<FunctionSubtractYears>();
}
}