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