1#include <Functions/FunctionFactory.h>
2#include "queryStringAndFragment.h"
3#include <Functions/FunctionStringToString.h>
4
5namespace DB
6{
7
8struct NameCutQueryStringAndFragment { static constexpr auto name = "cutQueryStringAndFragment"; };
9using FunctionCutQueryStringAndFragment = FunctionStringToString<CutSubstringImpl<ExtractQueryStringAndFragment<false>>, NameCutQueryStringAndFragment>;
10
11void registerFunctionCutQueryStringAndFragment(FunctionFactory & factory)
12{
13 factory.registerFunction<FunctionCutQueryStringAndFragment>();
14}
15
16}
17