Function quackdb_internal::ffi::duckdb_from_date
source · pub unsafe extern "C" fn duckdb_from_date(
date: duckdb_date
) -> duckdb_date_structExpand description
Decompose a duckdb_date object into year, month and date (stored as duckdb_date_struct).
date: The date object, as obtained from a DUCKDB_TYPE_DATE column.
returns: The duckdb_date_struct with the decomposed elements.