mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
b044d44fef
- introduced class MatchTraits with enums that replace bool template parameters - (minor: made negation the last template parameters because negation executes last during evaluation)
18 lines
337 B
C++
18 lines
337 B
C++
#pragma once
|
|
|
|
#include "MatchImpl.h"
|
|
#include "FunctionsStringSearch.h"
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct NameLike
|
|
{
|
|
static constexpr auto name = "like";
|
|
};
|
|
|
|
using LikeImpl = MatchImpl<NameLike, MatchTraits::Syntax::Like, MatchTraits::Case::Sensitive, MatchTraits::Result::DontNegate>;
|
|
using FunctionLike = FunctionsStringSearch<LikeImpl>;
|
|
|
|
}
|