ClickHouse/src/Functions/URL/cutQueryStringAndFragment.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
511 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include "queryStringAndFragment.h"
#include <Functions/FunctionStringToString.h>
namespace DB
{
struct NameCutQueryStringAndFragment { static constexpr auto name = "cutQueryStringAndFragment"; };
using FunctionCutQueryStringAndFragment = FunctionStringToString<CutSubstringImpl<ExtractQueryStringAndFragment<false>>, NameCutQueryStringAndFragment>;
REGISTER_FUNCTION(CutQueryStringAndFragment)
{
factory.registerFunction<FunctionCutQueryStringAndFragment>();
}
}