True if the finishing does not require an ORDER BY. LIMIT and OFFSET without an ORDER BY _are_ streamable: without an explicit ordering we will skip an arbitrary bag of elements and return the first arbitrary elements in the remaining bag. The result semantics are still correct but maybe surprising for some users.
(&self, arity: usize)
| 3567 | /// the first arbitrary elements in the remaining bag. The result semantics |
| 3568 | /// are still correct but maybe surprising for some users. |
| 3569 | pub fn is_streamable(&self, arity: usize) -> bool { |
| 3570 | self.order_by.is_empty() && self.project.iter().copied().eq(0..arity) |
| 3571 | } |
| 3572 | } |
| 3573 | |
| 3574 | impl RowSetFinishing<NonNeg<i64>, usize> { |
no test coverage detected