Iterate over all key-value pairs in the database. Iteration is performed in ascending, **lexicographic** order after converting the key into a byte array. The order thus depends on how your [`TableKey`] implementation chose to represent the fields in the output array.
(&self)
| 198 | /// your [`TableKey`] implementation chose to represent the fields in |
| 199 | /// the output array. |
| 200 | fn iter(&self) -> Iter<'_, Self> { |
| 201 | let mut raw = self.raw().raw_iterator(); |
| 202 | raw.seek_to_first(); |
| 203 | Iter { |
| 204 | raw, |
| 205 | _marker: PhantomData, |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | /// Iterate over key-value pairs in the `[start, end)` range. |
| 210 | fn range(&self, start: Self::Key, end: Self::Key) -> Iter<Self> { |
no outgoing calls
no test coverage detected