Function libduckdb_sys::duckdb_from_timestamp

source ·
pub unsafe extern "C" fn duckdb_from_timestamp(
    ts: duckdb_timestamp
) -> duckdb_timestamp_struct
Expand description

Decompose a duckdb_timestamp object into a duckdb_timestamp_struct.

ts: The ts object, as obtained from a DUCKDB_TYPE_TIMESTAMP column. returns: The duckdb_timestamp_struct with the decomposed elements.