aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/subtractDays.cpp
blob: b0060be2dd2bb193ef2e2cb482b0223acc97b831 (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 FunctionSubtractDays = FunctionDateOrDateTimeAddInterval<SubtractDaysImpl>;

REGISTER_FUNCTION(SubtractDays)
{
    factory.registerFunction<FunctionSubtractDays>();
}

}