Skip to main content

Module expressions

Module expressions 

Source

Structsยง

FieldIndex
A field index (e.g., parsed from โ€œ$0โ€ -> 0).
Name

Enumsยง

SupportedPrecision ๐Ÿ”’

Functionsยง

check_supported_precision ๐Ÿ”’
duration_to_precision_units ๐Ÿ”’
Convert a chrono::Duration to the units implied by precision. Errors if duration overflows the target unitโ€™s i64 range, or if duration carries a fractional component finer than precision can represent (e.g. .999 seconds canโ€™t be represented exactly at precision 0).
parse_date_to_days ๐Ÿ”’
Parse a date string using chrono to days since Unix epoch
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 ๐Ÿ”’