Skip to main content

interval_in

Function interval_in 

Source
pub fn interval_in(
    input: &str,
    typmod: i32,
    style: IntervalStyle,
) -> Result<Interval, TypeError>
Expand description

interval_in: the PostgreSQL, SQL and ISO 8601 forms. The typmod gives the unit of a number with no unit, and the result is cut and rounded to it.