Skip to main content

range_parse

Function range_parse 

Source
pub fn range_parse(text: &str) -> Result<RangeText, TypeError>
Expand description

range_parse: the key word empty, or a bracket or a parenthesis, the lower bound, a comma, the upper bound and a bracket or a parenthesis. White space before and after the range is not part of it. A bound with no characters is infinite. A bound can have characters in double quotes, and a backslash takes the next character as it is.

§Errors

22P02 “malformed range literal” with the detail of PostgreSQL.