aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/addMonths.cpp
blob: c604d64bec63a0e36dfb885d2991cc59f1c3ae9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>


namespace DB
{

using FunctionAddMonths = FunctionDateOrDateTimeAddInterval<AddMonthsImpl>;

REGISTER_FUNCTION(AddMonths)
{
    factory.registerFunction<FunctionAddMonths>();
}

}