tursodatabase/turso

Add prepare_cached() support to Turso Rust SDK

Open

#4,548 opened on Jan 9, 2026

 (1 comment) (0 reactions) (0 assignees)Rust (1,001 forks)github user discovery
help wantedperformance

Repository metrics

Stars
 (19,103 stars)
PR merge metrics
 (Avg merge 2d 11h) (147 merged PRs in 30d)

Description

Add support for this rusqlite API essentially:

https://docs.rs/rusqlite-le/latest/rusqlite/struct.Connection.html#method.prepare_cached

Eliminates the need to re-parse queries all the time since it's hard to reuse a Statement especially with multi-threading enabled.

Contributor guide