Method Val.Interval()->cast()
- Method
cast
(int)Val.Interval()
(float)Val.Interval()
(string)Val.Interval()
(array)Val.Interval()
(mapping)Val.Interval()
(multiset)Val.Interval()- Description
Casting intervals with
days
ormonths
toint
orfloat
is not possible since the units are not constant. Casting an interval tostring
will return a value which is SQL-compliant.