| 20 | }; |
| 21 | |
| 22 | std::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 |
| 32 | std::string parseDate(const std::string &dateString, const std::string &expOperator) |