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