Set the maximum number of rows to return from the scan. If specified, the scan should return at most this many rows. This is typically used to optimize queries with `LIMIT` clauses. # Arguments `limit` - Optional maximum number of rows to return
(mut self, limit: Option<usize>)
| 457 | /// # Arguments |
| 458 | /// * `limit` - Optional maximum number of rows to return |
| 459 | pub fn with_limit(mut self, limit: Option<usize>) -> Self { |
| 460 | self.limit = limit; |
| 461 | self |
| 462 | } |
| 463 | |
| 464 | /// Get the maximum number of rows to return from the scan. |
| 465 | /// |
no outgoing calls
no test coverage detected