| 1278 | /// Types of CASE expressions |
| 1279 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 1280 | pub enum CaseType { |
| 1281 | /// Simple CASE: CASE expr WHEN value1 THEN result1 WHEN value2 THEN result2 [ELSE default] END |
| 1282 | Simple(SimpleCaseExpression), |
| 1283 | /// Searched CASE: CASE WHEN condition1 THEN result1 WHEN condition2 THEN result2 [ELSE default] END |
| 1284 | Searched(SearchedCaseExpression), |
| 1285 | } |
| 1286 | |
| 1287 | /// Simple CASE expression with a test expression |
| 1288 | #[derive(Debug, Clone, Serialize, Deserialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected