Skip to main content

impl_appendable_via_to_duck_native

Macro impl_appendable_via_to_duck_native 

Source
macro_rules! impl_appendable_via_to_duck_native {
    ($t:ty) => { ... };
}
Expand description

Implements AppendAble for a type that already implements crate::types::DuckDialect by going through the duckdb_value path: to_duck() → duckdb_bind_value / duckdb_append_value → duckdb_destroy_value.

Use this for types that have no dedicated duckdb_bind_* / duckdb_append_* FFI function (e.g. TimestampS, TimeTz, Decimal).