wip: pragma_query method

This commit is contained in:
Diego Reis 2025-05-18 17:39:22 -03:00
parent bc88b7cb65
commit 72a1cd5e3c
2 changed files with 19 additions and 0 deletions

View file

@ -12,6 +12,12 @@ async fn main() {
.await
.unwrap();
conn.pragma_query("journal_mode", |&mut row| {
println!("{:?}", row);
Ok(())
})
.unwrap();
let mut stmt = conn
.prepare("INSERT INTO users (email) VALUES (?1)")
.await