ClickHouse/src/Functions/toStartOfMinute.cpp

19 lines
368 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
#include <Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h>
namespace DB
{
using FunctionToStartOfMinute = FunctionDateOrDateTimeToDateTimeOrDateTime64<ToStartOfMinuteImpl>;
REGISTER_FUNCTION(ToStartOfMinute)
{
factory.registerFunction<FunctionToStartOfMinute>();
}
}