Removes all but the first occurrence of each row.
(self)
| 1377 | |
| 1378 | /// Removes all but the first occurrence of each row. |
| 1379 | pub fn distinct(self) -> Self { |
| 1380 | let arity = self.arity(); |
| 1381 | self.distinct_by((0..arity).collect()) |
| 1382 | } |
| 1383 | |
| 1384 | /// Removes all but the first occurrence of each key. Columns not included |
| 1385 | /// in the `group_key` are discarded. |
nothing calls this directly
no test coverage detected