ClickHouse/src/Functions/subtractSeconds.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 FunctionSubtractSeconds = FunctionDateOrDateTimeAddInterval<SubtractSecondsImpl>;
REGISTER_FUNCTION(SubtractSeconds)
{
factory.registerFunction<FunctionSubtractSeconds>();
}
}