ClickHouse/src/Functions/subtractMinutes.cpp

19 lines
366 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 FunctionSubtractMinutes = FunctionDateOrDateTimeAddInterval<SubtractMinutesImpl>;
void registerFunctionSubtractMinutes(FunctionFactory & factory)
{
factory.registerFunction<FunctionSubtractMinutes>();
}
}