MCPcopy Create free account
hub / github.com/Restream/reindexer / isCondition

Function isCondition

cpp_src/core/query/sql/sqlparser.cc:784–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782}
783
784RX_ALWAYS_INLINE static bool isCondition(std::string_view text) noexcept {
785 return text == "="sv || text == "=="sv || text == "<>"sv || iequals(text, "is"sv) || text == ">"sv || text == ">="sv || text == "<"sv ||
786 text == "<="sv || iequals(text, "in"sv) || iequals(text, "range"sv) || iequals(text, "like"sv) || iequals(text, "allset"sv);
787}
788
789Query SQLParser::parseSubQuery(Tokenizer& parser) {
790 Query subquery;

Callers 2

parseWhereConditionMethod · 0.85
parseWhereMethod · 0.85

Calls 1

iequalsFunction · 0.85

Tested by

no test coverage detected