duckdb-rs icon indicating copy to clipboard operation
duckdb-rs copied to clipboard

Ergonomic bindings to duckdb for Rust

Results 175 duckdb-rs issues
Sort by recently updated
recently updated
newest added

`Transaction::new`'s doc references `Transaction::new_unchecked` to circumvent the borrow checker if need be, but isn't marked as public.

This pull request changes the way libduckdb is built. Because I don't have Windows, I can't verify it works there. Most importantly, it brings libduckdb up to the most recent...

.cargo/registry/src/index.crates.io-6f17d22bba15001f/r2d2-0.8.10/src/lib.rs:121 - INTERNAL Error: Failed to load metadata pointer (id 36, idx 0, ptr 36) Using r2d2 pool with duckdb-rs Basically loading a bunch of csv's using auto_read This error...

[Rows.map](https://docs.rs/duckdb/latest/duckdb/struct.Rows.html#method.map) requires the use of [duckdb::Result](https://docs.rs/duckdb/latest/duckdb/type.Result.html). Mapping a row to a value in my code might fail for reasons specific to my application, but the API of map prevents me...

It's a coincidence that the current enum tests in `test_all_types.rs` pass. Here's a simple example that shows a bug due to incorrect array indexing. ```rust use duckdb::{Connection, Result}; #[derive(Debug)] struct...

rust binary do not have default extensions, extensions need auto install and load, but auto install or manual install both get error: for manual install: "Catalog Error: Copy Function with...

I am wondering, how is the `column_count` method supposed to be used. AFAICU, you have to prepare _and_ execute (query) the Statement, before you can call this method: ```rs let...

I can not find methods to get my data from Value, so I write this, but may be need test ``` let rows = stmt .query_map([], |row| { use duckvfslink::duckdb::types::Value;...

Currently, this doesn't work because the trait requires it to be `&str`, not `&String`. Just using `.as_str()` fixes the problem, but it's nice if `insert()` accept it as it is....