struct

DuckDB::Interval

Inherits Struct / Value / Object

Constructors

new(microseconds : Int64 = 0, days : Int32 = 0, months : Int32 = 0)
Source

Instance methods

==(other : self) : Bool
Source
days
Source
microseconds
Source
months
Source
to_month_span
Source
to_span(approx_months : Int | Nil = nil)

Create a Time::Span from this DuckDB::Interval If the interval covered in the interval exceeds the range of Time::Span then an exception is raised.

Source
to_spans
Source