ClickHouse/src/Functions/addMonths.cpp

18 lines
309 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionAddMonths = FunctionDateOrDateTimeAddInterval<AddMonthsImpl>;
void registerFunctionAddMonths(FunctionFactory & factory)
{
factory.registerFunction<FunctionAddMonths>();
}
}