blob: 367a95acbdcb2d9c8d3afb86ad1c672bac5c044b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionStringToString.h>
#include "queryStringAndFragment.h"
namespace DB
{
struct NameQueryStringAndFragment { static constexpr auto name = "queryStringAndFragment"; };
using FunctionQueryStringAndFragment = FunctionStringToString<ExtractSubstringImpl<ExtractQueryStringAndFragment<true>>, NameQueryStringAndFragment>;
REGISTER_FUNCTION(QueryStringAndFragment)
{
factory.registerFunction<FunctionQueryStringAndFragment>();
}
}
|