mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
15 lines
403 B
C++
15 lines
403 B
C++
#include <Functions/FunctionUnixTimestamp64.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerToUnixTimestamp64Micro(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction("toUnixTimestamp64Micro",
|
|
[](ContextPtr){ return std::make_unique<FunctionToOverloadResolverAdaptor>(
|
|
std::make_shared<FunctionToUnixTimestamp64>(6, "toUnixTimestamp64Micro")); });
|
|
}
|
|
|
|
}
|