ClickHouse/src/Functions/subtractSeconds.cpp

19 lines
369 B
C++
Raw Normal View History

2021-05-15 17:33:15 +00:00
#include <Functions/IFunctionOld.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionSubtractSeconds = FunctionDateOrDateTimeAddInterval<SubtractSecondsImpl>;
void registerFunctionSubtractSeconds(FunctionFactory & factory)
{
factory.registerFunction<FunctionSubtractSeconds>();
}
}