mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
22 lines
346 B
C++
22 lines
346 B
C++
|
#include "FunctionsStringSearch.h"
|
||
|
#include "FunctionFactory.h"
|
||
|
#include "MatchImpl.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
struct NameLike
|
||
|
{
|
||
|
static constexpr auto name = "like";
|
||
|
};
|
||
|
|
||
|
using FunctionLike = FunctionsStringSearch<MatchImpl<true>, NameLike>;
|
||
|
|
||
|
void registerFunctionLike(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionLike>();
|
||
|
}
|
||
|
|
||
|
}
|