Skip to main content

upper_bound

Function upper_bound 

Source
pub fn upper_bound(
    value: Option<impl ScalarTruncation>,
    max_length: usize,
    nullability: Nullability,
) -> Option<(Scalar, bool)>
Expand description

Truncate the value to be less than max_length in bytes and be lexicographically greater than the value itself