ClickHouse/src/Functions/subtractDays.cpp

19 lines
325 B
C++
Raw Normal View History

2021-05-17 07:30:42 +00:00
#include <Functions/IFunction.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionSubtractDays = FunctionDateOrDateTimeAddInterval<SubtractDaysImpl>;
REGISTER_FUNCTION(SubtractDays)
{
factory.registerFunction<FunctionSubtractDays>();
}
}