2018-11-25 23:24:26 +00:00
|
|
|
#include <Functions/FunctionFactory.h>
|
2019-06-20 15:49:54 +00:00
|
|
|
#include "queryStringAndFragment.h"
|
2018-11-25 23:24:26 +00:00
|
|
|
#include <Functions/FunctionStringToString.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
struct NameCutQueryStringAndFragment { static constexpr auto name = "cutQueryStringAndFragment"; };
|
|
|
|
using FunctionCutQueryStringAndFragment = FunctionStringToString<CutSubstringImpl<ExtractQueryStringAndFragment<false>>, NameCutQueryStringAndFragment>;
|
|
|
|
|
2022-07-04 07:01:39 +00:00
|
|
|
REGISTER_FUNCTION(CutQueryStringAndFragment)
|
2018-11-25 23:24:26 +00:00
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionCutQueryStringAndFragment>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|