ClickHouse/dbms/src/Interpreters/misc.h
2019-10-23 16:59:03 +03:00

17 lines
300 B
C++

#pragma once
namespace DB
{
inline bool functionIsInOperator(const std::string & name)
{
return name == "in" || name == "notIn";
}
inline bool functionIsInOrGlobalInOperator(const std::string & name)
{
return functionIsInOperator(name) || name == "globalIn" || name == "globalNotIn";
}
}