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