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