aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/like.h
blob: 9e25fc6f4c00ce1278e10db21d05fb5f785d82df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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>;

}