Returns an instance of [`RelationVersion`] which is "one" higher than `self`.
(&self)
| 776 | |
| 777 | /// Returns an instance of [`RelationVersion`] which is "one" higher than `self`. |
| 778 | pub fn bump(&self) -> Self { |
| 779 | let next_version = self |
| 780 | .0 |
| 781 | .checked_add(1) |
| 782 | .expect("added more than u64::MAX columns?"); |
| 783 | RelationVersion(next_version) |
| 784 | } |
| 785 | |
| 786 | /// Consume a [`RelationVersion`] returning the raw value. |
| 787 | /// |
no test coverage detected