MCPcopy Create free account
hub / github.com/apache/kvrocks / Parse

Function Parse

tests/cppunit/ir_pass_test.cc:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35using namespace kqir;
36
37static auto Parse(const std::string& in) { return sql::ParseToIR(peg::string_input(in, "test")); }
38
39TEST(IRPassTest, Simple) {
40 auto ir = *Parse("select a from b where not c = 1 or d hastag \"x\" and 2 <= e order by e asc limit 0, 10");

Callers 15

TESTFunction · 0.70
ParseSFunction · 0.70
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50
ParseMethod · 0.50

Calls 1

ParseToIRFunction · 0.50

Tested by

no test coverage detected