rusqlite icon indicating copy to clipboard operation
rusqlite copied to clipboard

Ergonomic bindings to SQLite for Rust

Results 220 rusqlite issues
Sort by recently updated
recently updated
newest added

I'd like to propose adding support for the [`sqlite3_wal_hook`](https://www.sqlite.org/c3ref/wal_hook.html) in `rusqlite`, inspired by the existing [`commit_hook`](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.commit_hook) and [`rollback_hook`](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.rollback_hook) etc. This would allow users to monitor Write-Ahead Logging (WAL) events via...

enhancement

### Background I built a simple server using Axum and rusqlite, where the SQLite database is a few gigabytes in size and is updated approximately once every few seconds. In...

help wanted
question

I don't know if it can be implemented this way.

rusqlite team, I’m here to furiously rant about the execute method’s design! It doesn’t support multiple SQL statements, fine, but silently failing without throwing an error? That’s unforgivable! This pitfall...

duplicate

The virtual table interface allows xBegin, xSync, xCommit, and xRollback to be defined. This commit provides a trait, `TransactionVTab` and rustified versions of those methods. Note that the `module` macro...

I added support for the `sqlite_vtab_in`, `sqlite_vtab_in_first`, and `sqlite_vtab_in_next` interfaces. There is a current issue where the `Values` struct is being used unsafely in both the `filter` and `insert` methods,...

duplicate
invalid

When the `loadable_extension` feature is enabled, `cargo test` will fail due to a sqlite3_threadsafe failure. Tested version: 0.35.0 # Reproduction ``` cargo new rusqlite_repro cd rusqlite_repro cargo add rusqlite -F...

question

Currently, building the library with `--all-features` fails because because bindings for functions like `sqlite3_preupdate_hook` are not generated when the `loadable_extension` feature is active. This commit makes sure these bindings are...

This commit replaces all instances of methods accepting `fn(_) -> _` with `F: Fn(_) -> _`, for greater flexibility. A new internal abstraction is introduced to facilitate this change: `ThinBoxAny`,...