mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
18 lines
305 B
C++
18 lines
305 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
using FunctionAddHours = FunctionDateOrDateTimeAddInterval<AddHoursImpl>;
|
|
|
|
void registerFunctionAddHours(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionAddHours>();
|
|
}
|
|
|
|
}
|
|
|
|
|