mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
18 lines
305 B
C++
18 lines
305 B
C++
|
#include <Functions/FunctionFactory.h>
|
||
|
#include <Functions/FunctionDateOrDateTimeAddInterval.h>
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
using FunctionAddWeeks = FunctionDateOrDateTimeAddInterval<AddWeeksImpl>;
|
||
|
|
||
|
void registerFunctionAddWeeks(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionAddWeeks>();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|