(query: Query)
| 92 | type Ast = SqlSelect; |
| 93 | |
| 94 | fn parse_query(query: Query) -> SqlParseResult<Self::Ast> { |
| 95 | match query { |
| 96 | Query { |
| 97 | with: None, |
| 98 | body, |
| 99 | order_by, |
| 100 | limit: None, |
| 101 | offset: None, |
| 102 | fetch: None, |
| 103 | locks, |
| 104 | } if order_by.is_empty() && locks.is_empty() => parse_set_op(*body), |
| 105 | _ => Err(SubscriptionUnsupported::feature(query).into()), |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | /// Parse a set operation |
nothing calls this directly
no test coverage detected