Limit result set to only first N rows in ascending order of the order by column
(&mut self, num_rows: u64)
| 204 | |
| 205 | /// Limit result set to only first N rows in ascending order of the order by column |
| 206 | pub fn first(&mut self, num_rows: u64) -> &mut Self { |
| 207 | self.last = None; |
| 208 | self.first = Some(num_rows); |
| 209 | self |
| 210 | } |
| 211 | |
| 212 | /// Limit result set to only last N rows in ascending order of the order by column |
| 213 | pub fn last(&mut self, num_rows: u64) -> &mut Self { |
no outgoing calls