parse ```text ::= [ ] { | } ::= [ ] | ::= | ::= [ [ [ ] ] ] ::= <hours va
(s: &str)
| 540 | /// | <seconds value> |
| 541 | /// ``` |
| 542 | pub fn parse_interval(s: &str) -> Result<Interval, ParseError> { |
| 543 | parse_interval_w_disambiguator(s, None, DateTimeField::Second) |
| 544 | } |
| 545 | |
| 546 | /// Parse an interval string, using an optional leading precision for time (H:M:S) |
| 547 | /// and a specific mz_sql_parser::ast::DateTimeField to identify ambiguous elements. |