Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

rusqlite-patterns

Sterne2
Forks0
Aktualisiert10. Mai 2026 um 21:42

rusqlite-side DB patterns for the Tauri build — global Mutex<Option<Connection>>, the 5 SQL primitives in src-tauri/src/db.rs (db_run, db_get, db_all, db_batch, db_run_changes), parameter binding (positional via &[Value], named via named_params!), transaction wrappers, the prepare_cached statement cache, when to add an api/-layer function vs a Rust command, DELETE vs WAL journaling. Use when editing src-tauri/src/db.rs, adding any new Rust SQL helper, or asking "should this go in api/ or in Rust?".

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly