flow::adapter::parse_expr

Function parse_duration

Source
pub fn parse_duration(input: &str) -> IResult<&str, i64>
Expand description

parse duration and return ttl, currently only support time part of psql interval type