StructsΒ§
- Field
Index - A field index (e.g., parsed from β$0β -> 0).
- Function
Arguments π - The parenthesized arguments of a function call (
(expr, expr, ...)), each parsed as a value argument. - Function
Reference π - An unresolved reference to a function: its compound name plus an optional explicit anchor.
- Name
EnumsΒ§
- Interval
DayError π
ConstantsΒ§
- UNSIGNED_
FLOAT_ πKIND - UNSIGNED_
INT_ πKIND
FunctionsΒ§
- check_
supported_ πprecision - duration_
to_ πprecision_ units - Convert a
chrono::Durationto the units implied byprecision. Errors ifdurationoverflows the target unitβs i64 range, or ifdurationcarries a fractional component finer thanprecisioncan represent (e.g..999seconds canβt be represented exactly at precision 0). - interval_
day_ πfrom_ pair - Convert a matched
Rule::interval_day_durationinto anIntervalDayToSecondatprecision. - parse_
date_ πto_ days - Parse a date string using chrono to days since Unix epoch
- parse_
duration_ πnumber - Parse the integer part of a duration term, e.g. the
-5of-5d. - parse_
interval_ πday_ duration - Parse the contents of an
interval_dayliteral string - e.g. β5dβ, β4d 5sβ, β5d 3s 100nsβ, β-5d -3sβ - into anIntervalDayToSecondwith the sub-second precision taken from the literalβs type ascription. - parse_
time_ πto_ microseconds - Parse a time string to microseconds(precision 6) since midnight.
- parse_
time_ πto_ precision_ units - Parse a time-of-day string using chrono to a value in the given precisionβs units since midnight.
- parse_
timestamp_ πto_ microseconds - Parse a timestamp string to microseconds since Unix epoch.
- parse_
timestamp_ πto_ precision_ units - Parse a timestamp string using chrono to a value in the given precisionβs units since the Unix epoch.
- to_
boolean_ πliteral - to_
float_ πliteral - to_
int_ πliteral - to_
null_ πliteral - to_
string_ πliteral