Function operator::statement::timestamp_range_from_option_map

source ยท
fn timestamp_range_from_option_map(
    options: &OptionMap,
    query_ctx: &QueryContextRef,
) -> Result<Option<TimestampRange>>
Expand description

Extracts timestamp range from OptionMap with keys start_time and end_time. The timestamp ranges should be a valid timestamp string as defined in [Timestamp::from_str]. The timezone used for conversion will respect that inside query_ctx.