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