Returns whether the window frame can accept multiple ORDER BY expressions.
(&self)
| 273 | |
| 274 | /// Returns whether the window frame can accept multiple ORDER BY expressions. |
| 275 | pub fn can_accept_multi_orderby(&self) -> bool { |
| 276 | match self.units { |
| 277 | WindowFrameUnits::Rows => true, |
| 278 | WindowFrameUnits::Range => self.free_range(), |
| 279 | WindowFrameUnits::Groups => true, |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | /// Returns whether the window frame is "free range"; i.e. its start/end |
| 284 | /// bounds are UNBOUNDED or CURRENT ROW. |