| 89 | } |
| 90 | |
| 91 | void SingleLineSqlFormatter::ConditionsFormatter::AddCondition(OpType op, bool /*isNextOr*/) { |
| 92 | if (first_) { |
| 93 | if (op == OpNot) { |
| 94 | baseFormatter_.ser_ << "NOT"; |
| 95 | baseFormatter_.Next(); |
| 96 | } |
| 97 | } else { |
| 98 | baseFormatter_.Next(); |
| 99 | baseFormatter_.ser_ << kOpNames[op]; |
| 100 | } |
| 101 | first_ = false; |
| 102 | } |
| 103 | |
| 104 | static constexpr std::string_view indentStr{" "}; |
| 105 |
no test coverage detected