ClickHouse/dbms/src/Functions/addSeconds.cpp
2019-12-16 23:19:50 +02:00

20 lines
381 B
C++

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