ClickHouse/src/Functions/subtractMinutes.cpp

19 lines
337 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>;
REGISTER_FUNCTION(SubtractMinutes)
{
factory.registerFunction<FunctionSubtractMinutes>();
}
}