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


namespace DB
{

using FunctionSubtractMonths = FunctionDateOrDateTimeAddInterval<SubtractMonthsImpl>;

REGISTER_FUNCTION(SubtractMonths)
{
    factory.registerFunction<FunctionSubtractMonths>();
}

}