MCPcopy Create free account
hub / github.com/YACReader/yacreader / operatorToSQLOperator

Function operatorToSQLOperator

YACReaderLibrary/db/query_parser.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20};
21
22std::string operatorToSQLOperator(const std::string &expOperator)
23{
24 if (expOperator == ":" || expOperator == "=" || expOperator == "==") {
25 return "=";
26 } else {
27 return expOperator;
28 }
29}
30
31// this parses N days to date N days ago for now
32std::string parseDate(const std::string &dateString, const std::string &expOperator)

Callers 1

buildSqlStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected