1#include "hasAllAny.h"
2#include <Functions/FunctionFactory.h>
3
4
5namespace DB
6{
7
8class FunctionArrayHasAll : public FunctionArrayHasAllAny
9{
10public:
11 static constexpr auto name = "hasAll";
12 static FunctionPtr create(const Context & context) { return std::make_shared<FunctionArrayHasAll>(context); }
13 FunctionArrayHasAll(const Context & context_) : FunctionArrayHasAllAny(context_, true, name) {}
14};
15
16void registerFunctionHasAll(FunctionFactory & factory)
17{
18 factory.registerFunction<FunctionArrayHasAll>();
19}
20
21}
22