ClickHouse/src/Functions/toStartOfSecond.cpp

17 lines
393 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
#include <Functions/FunctionDateOrDateTimeToSomething.h>
namespace DB
{
using FunctionToStartOfSecond = FunctionDateOrDateTimeToSomething<DataTypeDateTime64, ToStartOfSecondImpl>;
void registerFunctionToStartOfSecond(FunctionFactory & factory)
{
factory.registerFunction<FunctionToStartOfSecond>();
}
}