duckdb / duckdb-rs

Ergonomic bindings to duckdb for Rust
MIT License
511 stars 113 forks source link

`FromSql` is not implemented for `Vec<f64>` #329

Open 0x1997 opened 5 months ago

0x1997 commented 5 months ago

Is there a way to get a Vec from an array column?

dvic commented 3 weeks ago

I think you can decode it as an Value::List: https://docs.rs/duckdb/latest/duckdb/types/enum.Value.html#variant.List