aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/URL/cutQueryString.cpp
blob: 2886adc2e36fcc86808b79827eadea7ed8244b4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <Functions/FunctionFactory.h>
#include "queryString.h"
#include <Functions/FunctionStringToString.h>

namespace DB
{

struct NameCutQueryString { static constexpr auto name = "cutQueryString"; };
using FunctionCutQueryString = FunctionStringToString<CutSubstringImpl<ExtractQueryString<false>>, NameCutQueryString>;

REGISTER_FUNCTION(CutQueryString)
{
    factory.registerFunction<FunctionCutQueryString>();
}

}