ClickHouse/dbms/src/Functions/addSeconds.cpp
2019-12-29 04:14:21 +03:00

19 lines
350 B
C++

#include <Functions/IFunctionImpl.h>
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
namespace DB
{
using FunctionAddSeconds = FunctionDateOrDateTimeAddInterval<AddSecondsImpl>;
void registerFunctionAddSeconds(FunctionFactory & factory)
{
factory.registerFunction<FunctionAddSeconds>();
}
}