ClickHouse/src/Functions/toStartOfDay.cpp
2022-09-22 09:19:22 +00:00

19 lines
356 B
C++

#include <Functions/FunctionFactory.h>
#include <Functions/DateTimeTransforms.h>
#include <Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h>
namespace DB
{
using FunctionToStartOfDay = FunctionDateOrDateTimeToDateTimeOrDateTime64<ToStartOfDayImpl>;
REGISTER_FUNCTION(ToStartOfDay)
{
factory.registerFunction<FunctionToStartOfDay>();
}
}