mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
wip: pragma_query method
This commit is contained in:
parent
bc88b7cb65
commit
72a1cd5e3c
2 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue